[llvm-commits] [llvm] r157624 - /llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Tue May 29 08:07:19 PDT 2012
Author: geoffray
Date: Tue May 29 10:07:18 2012
New Revision: 157624
URL: http://llvm.org/viewvc/llvm-project?rev=157624&view=rev
Log:
Update CPPBackend to new API for AttrListPtr::get.
Modified:
llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp
Modified: llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp?rev=157624&r1=157623&r2=157624&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp (original)
+++ llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp Tue May 29 10:07:18 2012
@@ -496,7 +496,7 @@
Out << "Attrs.push_back(PAWI);";
nl(Out);
}
- Out << name << "_PAL = AttrListPtr::get(Attrs.begin(), Attrs.end());";
+ Out << name << "_PAL = AttrListPtr::get(Attrs);";
nl(Out);
out(); nl(Out);
Out << '}'; nl(Out);
More information about the llvm-commits
mailing list