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 | 89268bc6e2c11c951d1c37f100696bff48d58fbf (patch) | |
| tree | 7a654c3dd76155923833fd2ae7636110938cf813 /llvm/tools/llvm2cpp | |
| parent | 4ae998528531ad6719d3503fce1e72e5a4d589b6 (diff) | |
| download | bcm5719-llvm-89268bc6e2c11c951d1c37f100696bff48d58fbf.tar.gz bcm5719-llvm-89268bc6e2c11c951d1c37f100696bff48d58fbf.zip | |
Expand ParameterAttributes to 32 bits (in preparation
for adding alignment info, not there yet). Clean up
interfaces to reference ParameterAttributes consistently.
llvm-svn: 47342
Diffstat (limited to 'llvm/tools/llvm2cpp')
| -rw-r--r-- | llvm/tools/llvm2cpp/CppWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm2cpp/CppWriter.cpp b/llvm/tools/llvm2cpp/CppWriter.cpp index d30968e3c8f..81911fd2975 100644 --- a/llvm/tools/llvm2cpp/CppWriter.cpp +++ b/llvm/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"; |

