mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Add some convenience methods for querying attributes, and
use them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44403 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -5161,7 +5161,7 @@ yyreduce:
|
||||
bool isVarArg = ParamTypeList.size() && ParamTypeList.back() == Type::VoidTy;
|
||||
if (isVarArg) ParamTypeList.pop_back();
|
||||
|
||||
ParamAttrsList *PAL = 0;
|
||||
const ParamAttrsList *PAL = 0;
|
||||
if (!Attrs.empty())
|
||||
PAL = ParamAttrsList::get(Attrs);
|
||||
|
||||
@@ -5664,7 +5664,7 @@ yyreduce:
|
||||
GEN_ERROR("Invalid number of parameters detected");
|
||||
}
|
||||
|
||||
ParamAttrsList *PAL = 0;
|
||||
const ParamAttrsList *PAL = 0;
|
||||
if (!Attrs.empty())
|
||||
PAL = ParamAttrsList::get(Attrs);
|
||||
|
||||
@@ -6094,7 +6094,7 @@ yyreduce:
|
||||
}
|
||||
|
||||
// Finish off the ParamAttrs and check them
|
||||
ParamAttrsList *PAL = 0;
|
||||
const ParamAttrsList *PAL = 0;
|
||||
if (!Attrs.empty())
|
||||
PAL = ParamAttrsList::get(Attrs);
|
||||
|
||||
|
Reference in New Issue
Block a user