aboutsummaryrefslogtreecommitdiffstats
path: root/lib/IR/AttributeImpl.h
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-01-31 03:47:28 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-01-31 03:47:28 +0000
commiteddab1550ee10cce3bb26a26e88529cb19451aa3 (patch)
treeeb36418a256549a4f275e0509ecda0a75a8ce321 /lib/IR/AttributeImpl.h
parent3e3de565e9c7258fb97773b3a64fc091355cb2de (diff)
downloadexternal_llvm-eddab1550ee10cce3bb26a26e88529cb19451aa3.zip
external_llvm-eddab1550ee10cce3bb26a26e88529cb19451aa3.tar.gz
external_llvm-eddab1550ee10cce3bb26a26e88529cb19451aa3.tar.bz2
Revert r174026, "Remove Attribute::hasAttributes() and make Attribute::hasAttribute() private."
It broke many hosts to crash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174035 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/AttributeImpl.h')
-rw-r--r--lib/IR/AttributeImpl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/IR/AttributeImpl.h b/lib/IR/AttributeImpl.h
index af9d4fa..7be5a16 100644
--- a/lib/IR/AttributeImpl.h
+++ b/lib/IR/AttributeImpl.h
@@ -46,6 +46,7 @@ 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; }