Remove a use of AttributeWithIndex.
authorBill Wendling <isanbard@gmail.com>
Mon, 28 Jan 2013 00:21:34 +0000 (00:21 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 28 Jan 2013 00:21:34 +0000 (00:21 +0000)
commit73bc452bcd63620daefb0a3bc613746af7418076
tree436573d6bd97123d470f5a387471fa418625052a
parent49716e5d84142d7bd3eeff7304f9bc708bff99d0
Remove a use of AttributeWithIndex.

We want to remove AttributeWithIndex because it provides a non-encapsulated view
of the AttributeSetImpl object. Instead, use accessor methods and iterators.

Eventually, this code can be simplified because the Attribute object will hold
only one attribute instead of multiple attributes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173641 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/AttributeImpl.h
lib/IR/Attributes.cpp