diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-01-31 02:18:19 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-01-31 02:18:19 +0000 |
commit | 3b4a02bf84f3fc9335dce6fe062e3b6643aa3172 (patch) | |
tree | 78f5d703a84b2ab8c0c47074a052889672e0a753 /llvm/lib/IR/AttributeImpl.h | |
parent | 56d1215b05d621c4be1da113418b23e3d52bd47b (diff) | |
download | bcm5719-llvm-3b4a02bf84f3fc9335dce6fe062e3b6643aa3172.tar.gz bcm5719-llvm-3b4a02bf84f3fc9335dce6fe062e3b6643aa3172.zip |
Remove Attribute::hasAttributes() and make Attribute::hasAttribute() private.
The Attribute::hasAttributes() is kind of meaningless since an Attribute can
have only one attribute. And we would rather people use the 'operator=='
instead of Attribute::hasAttribute().
llvm-svn: 174026
Diffstat (limited to 'llvm/lib/IR/AttributeImpl.h')
-rw-r--r-- | llvm/lib/IR/AttributeImpl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/IR/AttributeImpl.h b/llvm/lib/IR/AttributeImpl.h index 7be5a162f12..af9d4fa285c 100644 --- a/llvm/lib/IR/AttributeImpl.h +++ b/llvm/lib/IR/AttributeImpl.h @@ -46,7 +46,6 @@ public: AttributeImpl(LLVMContext &C, StringRef data); bool hasAttribute(Attribute::AttrKind A) const; - bool hasAttributes() const; Constant *getAttributeKind() const { return Kind; } ArrayRef<Constant*> getAttributeValues() const { return Vals; } |