diff options
| author | Chris Lattner <sabre@nondot.org> | 2012-05-28 01:47:53 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2012-05-28 01:47:53 +0000 |
| commit | a2db6f2bd8bed59cce5b4bec3a136816338915e0 (patch) | |
| tree | d650fec80f33ad9dcc1760164127cecfc878dfad /clang/lib/CodeGen/CGCall.cpp | |
| parent | 3cb6f83ebbde1d6d33651dcab64d5207900c4114 (diff) | |
| download | bcm5719-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.cpp | 3 |
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)) |

