mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-07 03:16:05 +03:00
DtoTypeInfoOf(): Make Loc param mandatory and move to 1st position
This commit is contained in:
parent
a9aafac862
commit
d3574b9835
9 changed files with 35 additions and 35 deletions
|
@ -250,7 +250,8 @@ static LLValue *getTypeinfoArrayArgumentForDVarArg(Expressions *argexps,
|
|||
std::vector<LLConstant *> vtypeinfos;
|
||||
vtypeinfos.reserve(numVariadicArgs);
|
||||
for (size_t i = begin; i < numArgExps; i++) {
|
||||
vtypeinfos.push_back(DtoTypeInfoOf((*argexps)[i]->type, /*base=*/true, (*argexps)[i]->loc));
|
||||
Expression *argExp = (*argexps)[i];
|
||||
vtypeinfos.push_back(DtoTypeInfoOf(argExp->loc, argExp->type));
|
||||
}
|
||||
|
||||
// apply initializer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue