diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-01-29 03:20:31 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-01-29 03:20:31 +0000 |
commit | 606c8e36dfdd28fc589356addd3e2cbb89a32e4d (patch) | |
tree | 5a62f95278b5433f40460890026320b96b2c0f8a /include | |
parent | 3a57c37964adfbbf83b4b309a2ceda43ba6d8231 (diff) | |
download | llvm-606c8e36dfdd28fc589356addd3e2cbb89a32e4d.tar.gz llvm-606c8e36dfdd28fc589356addd3e2cbb89a32e4d.tar.bz2 llvm-606c8e36dfdd28fc589356addd3e2cbb89a32e4d.tar.xz |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/IR/Attributes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h index 1aa733efbf..1578789df6 100644 --- a/include/llvm/IR/Attributes.h +++ b/include/llvm/IR/Attributes.h @@ -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, |