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/CGStmt.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/CGStmt.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp index 976d69d6b3c..dc441d9c5b5 100644 --- a/clang/lib/CodeGen/CGStmt.cpp +++ b/clang/lib/CodeGen/CGStmt.cpp @@ -1632,7 +1632,7 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) { llvm::InlineAsm::get(FTy, AsmString, Constraints, HasSideEffect, /* IsAlignStack */ false, AsmDialect); llvm::CallInst *Result = Builder.CreateCall(IA, Args); - llvm::Attributes::Builder B; + llvm::AttrBuilder B; B.addAttribute(llvm::Attributes::NoUnwind); Result->addAttribute(llvm::AttrListPtr::FunctionIndex, llvm::Attributes::get(getLLVMContext(), B)); |