ParseUnqualifiedId has new set of params.

See llvm/llvm-project@0dd0b1017c
This commit is contained in:
Vassil Vassilev 2022-02-08 08:27:34 +00:00 committed by jenkins
parent ec413fe1a8
commit c72f7a1109

View File

@ -1392,11 +1392,13 @@ namespace cling {
Decl *decl = llvm::dyn_cast<Decl>(foundDC);
getContextAndSpec(SS,decl,Context,S);
}
if (P.ParseUnqualifiedId(SS, /*EnteringContext*/false,
if (P.ParseUnqualifiedId(SS, ParsedType(),
/*ObjectHadErrors=*/false,
/*EnteringContext*/false,
/*AllowDestructorName*/true,
/*AllowConstructorName*/true,
/*AllowDeductionGuide*/ false,
ParsedType(), &TemplateKWLoc,
&TemplateKWLoc,
FuncId)) {
// Failed parse, cleanup.
return false;