[llvm-commits] [llvm] r48942 - /llvm/trunk/tools/llvm2cpp/CppWriter.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sat Mar 29 04:25:49 PDT 2008
Author: asl
Date: Sat Mar 29 06:25:49 2008
New Revision: 48942
URL: http://llvm.org/viewvc/llvm-project?rev=48942&view=rev
Log:
Honour another bunch of parameter attributes 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=48942&r1=48941&r2=48942&view=diff
==============================================================================
--- llvm/trunk/tools/llvm2cpp/CppWriter.cpp (original)
+++ llvm/trunk/tools/llvm2cpp/CppWriter.cpp Sat Mar 29 06:25:49 2008
@@ -462,6 +462,14 @@
Out << " | ParamAttr::NoUnwind";
if (attrs & ParamAttr::ByVal)
Out << " | ParamAttr::ByVal";
+ if (attrs & ParamAttr::NoAlias)
+ Out << " | ParamAttr::NoAlias";
+ if (attrs & ParamAttr::Nest)
+ Out << " | ParamAttr::Nest";
+ if (attrs & ParamAttr::ReadNone)
+ Out << " | ParamAttr::ReadNone";
+ if (attrs & ParamAttr::ReadOnly)
+ Out << " | ParamAttr::ReadOnly";
Out << ";";
nl(Out);
Out << "Attrs.push_back(PAWI);";
More information about the llvm-commits
mailing list