diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-12-19 07:18:12 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-12-19 07:18:12 +0000 |
commit | 7967fc14b912d9e355570f1f9db8ccb7d7518d94 (patch) | |
tree | 98b80fd825ad870c307c45f4dc0839998cb17f98 /clang/lib/CodeGen/CGStmt.cpp | |
parent | c467933dc723c3fff94fd1464c3870dca512d999 (diff) | |
download | bcm5719-llvm-7967fc14b912d9e355570f1f9db8ccb7d7518d94.tar.gz bcm5719-llvm-7967fc14b912d9e355570f1f9db8ccb7d7518d94.zip |
Rename the 'Attributes' class to 'Attribute'. It's going to represent a single attribute in the future.
llvm-svn: 170500
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGStmt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp index eafa5507650..30bd115cb7a 100644 --- a/clang/lib/CodeGen/CGStmt.cpp +++ b/clang/lib/CodeGen/CGStmt.cpp @@ -1641,8 +1641,8 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) { /* IsAlignStack */ false, AsmDialect); llvm::CallInst *Result = Builder.CreateCall(IA, Args); Result->addAttribute(llvm::AttributeSet::FunctionIndex, - llvm::Attributes::get(getLLVMContext(), - llvm::Attributes::NoUnwind)); + llvm::Attribute::get(getLLVMContext(), + llvm::Attribute::NoUnwind)); // Slap the source location of the inline asm into a !srcloc metadata on the // call. FIXME: Handle metadata for MS-style inline asms. |