diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-15 20:36:26 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-15 20:36:26 +0000 |
commit | a514ebc1db35f9ba8066d6eb55a3074aeaf5d6b9 (patch) | |
tree | 087da2f72112e63998579223356b1b2ba6430391 /clang/lib/CodeGen/CGObjCMac.cpp | |
parent | 50d27849f6e2e1f5a19364b9efbc39ef743d8040 (diff) | |
download | bcm5719-llvm-a514ebc1db35f9ba8066d6eb55a3074aeaf5d6b9.tar.gz bcm5719-llvm-a514ebc1db35f9ba8066d6eb55a3074aeaf5d6b9.zip |
Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change.
llvm-svn: 165961
Diffstat (limited to 'clang/lib/CodeGen/CGObjCMac.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjCMac.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp index 749d9d4b043..c89171db550 100644 --- a/clang/lib/CodeGen/CGObjCMac.cpp +++ b/clang/lib/CodeGen/CGObjCMac.cpp @@ -63,7 +63,7 @@ private: // Add the non-lazy-bind attribute, since objc_msgSend is likely to // be called a lot. llvm::Type *params[] = { ObjectPtrTy, SelectorPtrTy }; - llvm::Attributes::Builder B; + llvm::AttrBuilder B; B.addAttribute(llvm::Attributes::NonLazyBind); return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy, params, true), @@ -583,7 +583,7 @@ public: llvm::Constant *getSetJmpFn() { // This is specifically the prototype for x86. llvm::Type *params[] = { CGM.Int32Ty->getPointerTo() }; - llvm::Attributes::Builder B; + llvm::AttrBuilder B; B.addAttribute(llvm::Attributes::NonLazyBind); return CGM.CreateRuntimeFunction(llvm::FunctionType::get(CGM.Int32Ty, params, false), |