aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/AttributesImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/AttributesImpl.h')
-rw-r--r--include/llvm/AttributesImpl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/AttributesImpl.h b/include/llvm/AttributesImpl.h
index 26e873bd83..4f68cb4c3e 100644
--- a/include/llvm/AttributesImpl.h
+++ b/include/llvm/AttributesImpl.h
@@ -23,12 +23,14 @@ class Attributes;
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) {}
bool hasAttribute(uint64_t A) const;
+
bool hasAttributes() const;
bool hasAttributes(const Attributes &A) const;