summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AttributeImpl.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-03 00:46:43 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-03 00:46:43 +0000
commit0793f4501c0df0a0595d5f68b8c821eedc61d6ea (patch)
tree7af6b56490504b302cc8ad0983e6e548021ad8b4 /llvm/lib/IR/AttributeImpl.h
parent33accdf602a9191caa0a42c4400241def6613af5 (diff)
downloadbcm5719-llvm-0793f4501c0df0a0595d5f68b8c821eedc61d6ea.tar.gz
bcm5719-llvm-0793f4501c0df0a0595d5f68b8c821eedc61d6ea.zip
Make the type signature more strict.
llvm-svn: 171434
Diffstat (limited to 'llvm/lib/IR/AttributeImpl.h')
-rw-r--r--llvm/lib/IR/AttributeImpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/AttributeImpl.h b/llvm/lib/IR/AttributeImpl.h
index ecdb9280ced..2633608926f 100644
--- a/llvm/lib/IR/AttributeImpl.h
+++ b/llvm/lib/IR/AttributeImpl.h
@@ -45,7 +45,7 @@ public:
bool contains(Attribute::AttrKind Kind) const;
bool contains(StringRef Kind) const;
- bool hasAttribute(uint64_t A) const;
+ bool hasAttribute(Attribute::AttrKind A) const;
bool hasAttributes() const;
bool hasAttributes(const Attribute &A) const;
@@ -69,7 +69,7 @@ public:
uint64_t getBitMask() const; // FIXME: Remove.
- static uint64_t getAttrMask(uint64_t Val);
+ static uint64_t getAttrMask(Attribute::AttrKind Val);
void Profile(FoldingSetNodeID &ID) const {
Profile(ID, Data, Vals);
OpenPOWER on IntegriCloud