summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-29 03:20:31 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-29 03:20:31 +0000
commitf2955aa3f20ab76162be2aa23512d8d175cbf34f (patch)
tree4d14291591208f37db3315480c352a326c2a4671 /llvm/include
parent778138e960b9f0abfdc1ff6e65bbfcb497cdd12a (diff)
downloadbcm5719-llvm-f2955aa3f20ab76162be2aa23512d8d175cbf34f.tar.gz
bcm5719-llvm-f2955aa3f20ab76162be2aa23512d8d175cbf34f.zip
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. llvm-svn: 173761
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/IR/Attributes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/IR/Attributes.h b/llvm/include/llvm/IR/Attributes.h
index 1aa733efbf8..1578789df60 100644
--- a/llvm/include/llvm/IR/Attributes.h
+++ b/llvm/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,
OpenPOWER on IntegriCloud