aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-30 01:05:42 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-30 01:05:42 +0000
commitc966e08a9895a39f575d917a8390c8e359f042f5 (patch)
treed3365cdccecdb1827e2250a5dee87173313a3fbd /include
parentf35cb76a7064eb389ff8f293234f55db8e7e895c (diff)
s/Raw/getBitMask/g to be more in line with current naming conventions. This method won't be sticking around.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171244 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Attributes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index 0975d1a290..cc14e965e2 100644
--- a/include/llvm/Attributes.h
+++ b/include/llvm/Attributes.h
@@ -127,7 +127,7 @@ public:
return pImpl != A.pImpl;
}
- uint64_t Raw() const;
+ uint64_t getBitMask() const;
/// \brief Which attributes cannot be applied to a type.
static Attribute typeIncompatible(Type *Ty);
@@ -160,7 +160,7 @@ class AttrBuilder {
public:
AttrBuilder() : Bits(0) {}
explicit AttrBuilder(uint64_t B) : Bits(B) {}
- AttrBuilder(const Attribute &A) : Bits(A.Raw()) {}
+ AttrBuilder(const Attribute &A) : Bits(A.getBitMask()) {}
void clear() { Bits = 0; }
@@ -231,7 +231,7 @@ public:
.removeAttribute(Attribute::NoDuplicate);
}
- uint64_t Raw() const { return Bits; }
+ uint64_t getBitMask() const { return Bits; }
bool operator==(const AttrBuilder &B) {
return Bits == B.Bits;