diff options
author | Zhou Sheng <zhousheng00@gmail.com> | 2007-06-05 05:28:26 +0000 |
---|---|---|
committer | Zhou Sheng <zhousheng00@gmail.com> | 2007-06-05 05:28:26 +0000 |
commit | 2444a9adeb18faef5c08486ea5174cdf8d039b03 (patch) | |
tree | 2e8e43a36ee9a220ac75a108aec7bb34a13af823 /llvm/tools/llvm2cpp/CppWriter.cpp | |
parent | 59754300a87ec076c1456632a5c660a9d8985c97 (diff) | |
download | bcm5719-llvm-2444a9adeb18faef5c08486ea5174cdf8d039b03.tar.gz bcm5719-llvm-2444a9adeb18faef5c08486ea5174cdf8d039b03.zip |
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
Diffstat (limited to 'llvm/tools/llvm2cpp/CppWriter.cpp')
-rw-r--r-- | llvm/tools/llvm2cpp/CppWriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) |