summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCall.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
commit3087d026da6ad5d201497c0703ec876463180cfa (patch)
tree5d96a91771c2047af50532506d6354e70e774264 /clang/lib/CodeGen/CGCall.cpp
parente94d843e43d1b87f843de276381eaf9b13b487dd (diff)
downloadbcm5719-llvm-3087d026da6ad5d201497c0703ec876463180cfa.tar.gz
bcm5719-llvm-3087d026da6ad5d201497c0703ec876463180cfa.zip
s/AttrListPtr/AttributeSet/g to better label what this class is going to be in the near future.
llvm-svn: 169652
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r--clang/lib/CodeGen/CGCall.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index 1047931b60c..77498cb8fb6 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/lib/CodeGen/CGCall.cpp
@@ -1049,7 +1049,7 @@ void CodeGenModule::ConstructAttributeList(const CGFunctionInfo &FI,
if (RetAttrs.hasAttributes())
PAL.push_back(llvm::
- AttributeWithIndex::get(llvm::AttrListPtr::ReturnIndex,
+ AttributeWithIndex::get(llvm::AttributeSet::ReturnIndex,
llvm::Attributes::get(getLLVMContext(),
RetAttrs)));
@@ -1136,7 +1136,7 @@ void CodeGenModule::ConstructAttributeList(const CGFunctionInfo &FI,
}
if (FuncAttrs.hasAttributes())
PAL.push_back(llvm::
- AttributeWithIndex::get(llvm::AttrListPtr::FunctionIndex,
+ AttributeWithIndex::get(llvm::AttributeSet::FunctionIndex,
llvm::Attributes::get(getLLVMContext(),
FuncAttrs)));
}
@@ -2230,7 +2230,7 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo,
unsigned CallingConv;
CodeGen::AttributeListType AttributeList;
CGM.ConstructAttributeList(CallInfo, TargetDecl, AttributeList, CallingConv);
- llvm::AttrListPtr Attrs = llvm::AttrListPtr::get(getLLVMContext(),
+ llvm::AttributeSet Attrs = llvm::AttributeSet::get(getLLVMContext(),
AttributeList);
llvm::BasicBlock *InvokeDest = 0;
OpenPOWER on IntegriCloud