diff options
| author | Duncan Sands <baldrick@free.fr> | 2007-11-28 17:07:01 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2007-11-28 17:07:01 +0000 |
| commit | 5208d1ab4ae3ea453f4363e4d4582e2df09b7927 (patch) | |
| tree | e5db86677b4e4522de2cfd2bc0dec21912517b96 /llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs | |
| parent | b5452fb829347e51e51e053a4d97f3cdf9d5101f (diff) | |
| download | bcm5719-llvm-5208d1ab4ae3ea453f4363e4d4582e2df09b7927.tar.gz bcm5719-llvm-5208d1ab4ae3ea453f4363e4d4582e2df09b7927.zip | |
Add some convenience methods for querying attributes, and
use them.
llvm-svn: 44403
Diffstat (limited to 'llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs')
| -rw-r--r-- | llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs b/llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs index 8f8327ec40b..dce1836b867 100644 --- a/llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs +++ b/llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs @@ -4510,7 +4510,7 @@ yyreduce: bool isVarArg = Params.size() && Params.back() == Type::VoidTy; if (isVarArg) Params.pop_back(); - ParamAttrsList *PAL = 0; + const ParamAttrsList *PAL = 0; if (lastCallingConv == OldCallingConv::CSRet) { ParamAttrsVector Attrs; ParamAttrsWithIndex PAWI; |

