summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/TargetInfo.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-15 20:36:26 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-15 20:36:26 +0000
commita514ebc1db35f9ba8066d6eb55a3074aeaf5d6b9 (patch)
tree087da2f72112e63998579223356b1b2ba6430391 /clang/lib/CodeGen/TargetInfo.cpp
parent50d27849f6e2e1f5a19364b9efbc39ef743d8040 (diff)
downloadbcm5719-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/TargetInfo.cpp')
-rw-r--r--clang/lib/CodeGen/TargetInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp
index dca335d69d0..75cc5a37a57 100644
--- a/clang/lib/CodeGen/TargetInfo.cpp
+++ b/clang/lib/CodeGen/TargetInfo.cpp
@@ -968,7 +968,7 @@ void X86_32TargetCodeGenInfo::SetTargetAttributes(const Decl *D,
llvm::Function *Fn = cast<llvm::Function>(GV);
// Now add the 'alignstack' attribute with a value of 16.
- llvm::Attributes::Builder B;
+ llvm::AttrBuilder B;
B.addStackAlignmentAttr(16);
Fn->addAttribute(llvm::AttrListPtr::FunctionIndex,
llvm::Attributes::get(CGM.getLLVMContext(), B));
OpenPOWER on IntegriCloud