From febca3499e5624361142dda2cb3c2ea806bfcdb6 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37432 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm2cpp/CppWriter.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/llvm2cpp') diff --git a/tools/llvm2cpp/CppWriter.cpp b/tools/llvm2cpp/CppWriter.cpp index 58c67b716e..86e266147c 100644 --- a/tools/llvm2cpp/CppWriter.cpp +++ b/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-70-g09d2