[llvm-commits] [llvm] r48941 - /llvm/trunk/tools/llvm2cpp/CppWriter.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sat Mar 29 04:15:06 PDT 2008
Author: asl
Date: Sat Mar 29 06:15:01 2008
New Revision: 48941
URL: http://llvm.org/viewvc/llvm-project?rev=48941&view=rev
Log:
Honour ByVal parameter attribute in llvm2cpp
Modified:
llvm/trunk/tools/llvm2cpp/CppWriter.cpp
Modified: llvm/trunk/tools/llvm2cpp/CppWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm2cpp/CppWriter.cpp?rev=48941&r1=48940&r2=48941&view=diff
==============================================================================
--- llvm/trunk/tools/llvm2cpp/CppWriter.cpp (original)
+++ llvm/trunk/tools/llvm2cpp/CppWriter.cpp Sat Mar 29 06:15:01 2008
@@ -460,6 +460,8 @@
Out << " | ParamAttr::NoReturn";
if (attrs & ParamAttr::NoUnwind)
Out << " | ParamAttr::NoUnwind";
+ if (attrs & ParamAttr::ByVal)
+ Out << " | ParamAttr::ByVal";
Out << ";";
nl(Out);
Out << "Attrs.push_back(PAWI);";
More information about the llvm-commits
mailing list