Convert getAttributes() to return an AttributeSetNode.

The AttributeSetNode contains all of the attributes. This removes one (hopefully
last) use of the Attribute class as a container of multiple attributes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173761 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2013-01-29 03:20:31 +00:00
parent 3a57c37964
commit 606c8e36df
5 changed files with 120 additions and 75 deletions

View File

@@ -180,7 +180,7 @@ private:
/// \brief The attributes for the specified index are returned. Attributes
/// for the result are denoted with Idx = 0.
Attribute getAttributes(unsigned Idx) const;
AttributeSetNode *getAttributes(unsigned Idx) const;
/// \brief Create an AttributeSet with the specified parameters in it.
static AttributeSet get(LLVMContext &C,