report progress in TemplateSimplifier::simplifyTemplateInstantiations, as far as I see it can be very slow
This commit is contained in:
parent
3b7948fb4e
commit
07f3930923
|
@ -1272,6 +1272,8 @@ bool TemplateSimplifier::simplifyTemplateInstantiations(
|
|||
}
|
||||
}
|
||||
Token * const tok2 = *iter2;
|
||||
if (errorlogger && !tokenlist.getFiles().empty())
|
||||
errorlogger->reportProgress(tokenlist.getFiles()[0], "TemplateSimplifier::simplifyTemplateInstantiations()", tok2->progressValue());
|
||||
assert(tokenlist.validateToken(tok2)); // that assertion fails on examples from #6021
|
||||
if (tok2->str() != name)
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue