diff options
Diffstat (limited to 'include/llvm/AttributesImpl.h')
-rw-r--r-- | include/llvm/AttributesImpl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/AttributesImpl.h b/include/llvm/AttributesImpl.h index 4f68cb4c3e..eea11a7011 100644 --- a/include/llvm/AttributesImpl.h +++ b/include/llvm/AttributesImpl.h @@ -25,7 +25,6 @@ class AttributesImpl : public FoldingSetNode { friend class Attributes; uint64_t Bits; // FIXME: We will be expanding this. - uint64_t getAttrMask(uint64_t Val) const; public: AttributesImpl(uint64_t bits) : Bits(bits) {} @@ -39,6 +38,8 @@ public: bool isEmptyOrSingleton() const; + static uint64_t getAttrMask(uint64_t Val); + void Profile(FoldingSetNodeID &ID) const { Profile(ID, Bits); } |