From 2444a9adeb18faef5c08486ea5174cdf8d039b03 Mon Sep 17 00:00:00 2001 From: Zhou Sheng Date: Tue, 5 Jun 2007 05:28:26 +0000 Subject: Commit first round work of PR1373. "noalias" is now fully supported in VMCore, BitCode, and Assembly. Documentation and test case paramattrs.ll updated also. llvm-svn: 37432 --- llvm/tools/llvm2cpp/CppWriter.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/tools/llvm2cpp/CppWriter.cpp') diff --git a/llvm/tools/llvm2cpp/CppWriter.cpp b/llvm/tools/llvm2cpp/CppWriter.cpp index 58c67b716e3..86e266147c0 100644 --- a/llvm/tools/llvm2cpp/CppWriter.cpp +++ b/llvm/tools/llvm2cpp/CppWriter.cpp @@ -473,6 +473,8 @@ CppWriter::printTypeInternal(const Type* Ty) { Out << " | ParamAttr::SExt"; if (attrs & ParamAttr::ZExt) Out << " | ParamAttr::ZExt"; + if (attrs & ParamAttr::NoAlias) + Out << " | ParamAttr::NoAlias"; if (attrs & ParamAttr::StructRet) Out << " | ParamAttr::StructRet"; if (attrs & ParamAttr::InReg) -- cgit v1.2.3