aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Attributes.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-31 00:49:59 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-31 00:49:59 +0000
commit9d30e7208e6b2bc3fa48305e3ae371188f643425 (patch)
treeae1e458e31434ea097a6c2cdc12e04fc63e00f8f /include/llvm/Attributes.h
parentd60b8ac64fa161646d50c49d6171cb49e6a2c7ee (diff)
Remove the getAttributesAtIndex and getNumAttrs methods in favor of using the getAttrSomewhere predicate. This prevents the uses of 'Attribute' as a collection of attributes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171271 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Attributes.h')
-rw-r--r--include/llvm/Attributes.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index 08063c15ed..caba9633eb 100644
--- a/include/llvm/Attributes.h
+++ b/include/llvm/Attributes.h
@@ -358,9 +358,6 @@ public:
/// parameter or for the return value.
bool hasAttrSomewhere(Attribute::AttrKind Attr) const;
- unsigned getNumAttrs() const;
- Attribute &getAttributesAtIndex(unsigned i) const;
-
/// operator==/!= - Provide equality predicates.
bool operator==(const AttributeSet &RHS) const {
return AttrList == RHS.AttrList;