aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Core.cpp
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 /lib/VMCore/Core.cpp
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 'lib/VMCore/Core.cpp')
-rw-r--r--lib/VMCore/Core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp
index 71098bf7f8..1fb8528568 100644
--- a/lib/VMCore/Core.cpp
+++ b/lib/VMCore/Core.cpp
@@ -1402,7 +1402,7 @@ LLVMAttribute LLVMGetFunctionAttr(LLVMValueRef Fn) {
Function *Func = unwrap<Function>(Fn);
const AttributeSet PAL = Func->getAttributes();
Attribute attr = PAL.getFnAttributes();
- return (LLVMAttribute)attr.Raw();
+ return (LLVMAttribute)attr.getBitMask();
}
/*--.. Operations on parameters ............................................--*/
@@ -1479,7 +1479,7 @@ LLVMAttribute LLVMGetAttribute(LLVMValueRef Arg) {
Argument *A = unwrap<Argument>(Arg);
Attribute attr = A->getParent()->getAttributes().getParamAttributes(
A->getArgNo()+1);
- return (LLVMAttribute)attr.Raw();
+ return (LLVMAttribute)attr.getBitMask();
}