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 | 85238aae1a4b6ac67e16560a9855944191f3db5b (patch) | |
tree | 314affc8a0c86f7f6db51951c203ea26fa714513 /lib/IR/AttributeImpl.h | |
parent | a070d2a0355c4993240b5206ebc1d517c151331d (diff) | |
download | external_llvm-85238aae1a4b6ac67e16560a9855944191f3db5b.zip external_llvm-85238aae1a4b6ac67e16560a9855944191f3db5b.tar.gz external_llvm-85238aae1a4b6ac67e16560a9855944191f3db5b.tar.bz2 |
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().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/AttributeImpl.h')
-rw-r--r-- | lib/IR/AttributeImpl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/IR/AttributeImpl.h b/lib/IR/AttributeImpl.h index 7be5a16..af9d4fa 100644 --- a/lib/IR/AttributeImpl.h +++ b/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; } |