aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-07 23:17:26 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-07 23:17:26 +0000
commit785b778203a474c6e4b9e17ae91cd2a358868877 (patch)
tree6d755cc0898a33e5b6b38ee30ce04e0007e77352 /lib/CodeGen/CGStmt.cpp
parent12f37e411462b8388eb1309357bd62257debacac (diff)
s/AttrListPtr/AttributeSet/g to better label what this class is going to be in the near future.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169652 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r--lib/CodeGen/CGStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp
index 7f2a982d3e..eafa550765 100644
--- a/lib/CodeGen/CGStmt.cpp
+++ b/lib/CodeGen/CGStmt.cpp
@@ -1640,7 +1640,7 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) {
llvm::InlineAsm::get(FTy, AsmString, Constraints, HasSideEffect,
/* IsAlignStack */ false, AsmDialect);
llvm::CallInst *Result = Builder.CreateCall(IA, Args);
- Result->addAttribute(llvm::AttrListPtr::FunctionIndex,
+ Result->addAttribute(llvm::AttributeSet::FunctionIndex,
llvm::Attributes::get(getLLVMContext(),
llvm::Attributes::NoUnwind));