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 | febca3499e5624361142dda2cb3c2ea806bfcdb6 (patch) | |
tree | 310a377dac8a301e5e87a1cf852c71b416d56a19 /tools/llvm2cpp/CppWriter.cpp | |
parent | 45beb482c4f7c30f4d0bce962e4491ba2abc2e78 (diff) |
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
Diffstat (limited to 'tools/llvm2cpp/CppWriter.cpp')
-rw-r--r-- | tools/llvm2cpp/CppWriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) |