DtoTypeInfoOf(): Make Loc param mandatory and move to 1st position

This commit is contained in:
Martin Kinkelin 2020-12-13 15:15:37 +01:00
parent a9aafac862
commit d3574b9835
9 changed files with 35 additions and 35 deletions

View file

@ -314,7 +314,7 @@ public:
LLType *tiTy = DtoType(getTypeInfoType());
for (auto arg : *tu->arguments) {
arrInits.push_back(DtoTypeInfoOf(arg->type));
arrInits.push_back(DtoTypeInfoOf(decl->loc, arg->type));
}
// build array