From 3087d026da6ad5d201497c0703ec876463180cfa Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 7 Dec 2012 23:17:26 +0000 Subject: s/AttrListPtr/AttributeSet/g to better label what this class is going to be in the near future. llvm-svn: 169652 --- clang/lib/CodeGen/CGStmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CGStmt.cpp') diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp index 7f2a982d3e0..eafa5507650 100644 --- a/clang/lib/CodeGen/CGStmt.cpp +++ b/clang/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)); -- cgit v1.2.3