diff options
author | Dale Johannesen <dalej@apple.com> | 2008-02-19 21:38:47 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-02-19 21:38:47 +0000 |
commit | f4666f59fc17a4e5c4764e56220d1c5888fd8f58 (patch) | |
tree | 9fbe3f267ddd1719fd5b3e0f95733e786c07fa5c /tools/llvm2cpp/CppWriter.cpp | |
parent | 79f659180225d802a5aa875ca6564c59f281a6d8 (diff) | |
download | external_llvm-f4666f59fc17a4e5c4764e56220d1c5888fd8f58.zip external_llvm-f4666f59fc17a4e5c4764e56220d1c5888fd8f58.tar.gz external_llvm-f4666f59fc17a4e5c4764e56220d1c5888fd8f58.tar.bz2 |
Expand ParameterAttributes to 32 bits (in preparation
for adding alignment info, not there yet). Clean up
interfaces to reference ParameterAttributes consistently.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47342 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm2cpp/CppWriter.cpp')
-rw-r--r-- | tools/llvm2cpp/CppWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm2cpp/CppWriter.cpp b/tools/llvm2cpp/CppWriter.cpp index d30968e..81911fd 100644 --- a/tools/llvm2cpp/CppWriter.cpp +++ b/tools/llvm2cpp/CppWriter.cpp @@ -447,7 +447,7 @@ CppWriter::printParamAttrs(const ParamAttrsList* PAL, const std::string &name) { Out << "ParamAttrsWithIndex PAWI;"; nl(Out); for (unsigned i = 0; i < PAL->size(); ++i) { uint16_t index = PAL->getParamIndex(i); - uint16_t attrs = PAL->getParamAttrs(index); + ParameterAttributes attrs = PAL->getParamAttrs(index); Out << "PAWI.index = " << index << "; PAWI.attrs = 0 "; if (attrs & ParamAttr::SExt) Out << " | ParamAttr::SExt"; |