summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitb0944392aab9b9ed88cf7800aa9fb9cc1ad5c131 (patch)
treede5abc7ff5459625ab3715e7e94ef8740f72df60 /llvm/lib/IR/AttributeImpl.h
parentf0f5616457e34d9183db2bd74341a2d1641d3054 (diff)
downloadbcm5719-llvm-b0944392aab9b9ed88cf7800aa9fb9cc1ad5c131.tar.gz
bcm5719-llvm-b0944392aab9b9ed88cf7800aa9fb9cc1ad5c131.zip
Revert r174026, "Remove Attribute::hasAttributes() and make Attribute::hasAttribute() private."
It broke many hosts to crash. llvm-svn: 174035
Diffstat (limited to 'llvm/lib/IR/AttributeImpl.h')
-rw-r--r--llvm/lib/IR/AttributeImpl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/IR/AttributeImpl.h b/llvm/lib/IR/AttributeImpl.h
index af9d4fa285c..7be5a162f12 100644
--- a/llvm/lib/IR/AttributeImpl.h
+++ b/llvm/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; }
OpenPOWER on IntegriCloud