summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-05-28 01:47:53 +0000
committerChris Lattner <sabre@nondot.org>2012-05-28 01:47:53 +0000
commita2db6f2bd8bed59cce5b4bec3a136816338915e0 (patch)
treed650fec80f33ad9dcc1760164127cecfc878dfad /clang/lib/CodeGen/CGCall.cpp
parent3cb6f83ebbde1d6d33651dcab64d5207900c4114 (diff)
downloadbcm5719-llvm-a2db6f2bd8bed59cce5b4bec3a136816338915e0.tar.gz
bcm5719-llvm-a2db6f2bd8bed59cce5b4bec3a136816338915e0.zip
adjust to mainline llvm API change.
llvm-svn: 157557
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r--clang/lib/CodeGen/CGCall.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index cd01fa251c0..4a8efe17384 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/lib/CodeGen/CGCall.cpp
@@ -2066,8 +2066,7 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo,
unsigned CallingConv;
CodeGen::AttributeListType AttributeList;
CGM.ConstructAttributeList(CallInfo, TargetDecl, AttributeList, CallingConv);
- llvm::AttrListPtr Attrs = llvm::AttrListPtr::get(AttributeList.begin(),
- AttributeList.end());
+ llvm::AttrListPtr Attrs = llvm::AttrListPtr::get(AttributeList);
llvm::BasicBlock *InvokeDest = 0;
if (!(Attrs.getFnAttributes() & llvm::Attribute::NoUnwind))
OpenPOWER on IntegriCloud