Add ability to time simplifyTemplates. (#1640)
This commit is contained in:
parent
681cb7dd90
commit
5c0ec782f1
|
@ -3872,7 +3872,12 @@ bool Tokenizer::simplifyTokenList1(const char FileName[])
|
|||
|
||||
if (!isC()) {
|
||||
// Handle templates..
|
||||
if (mTimerResults) {
|
||||
Timer t("Tokenizer::tokenize::simplifyTemplates", mSettings->showtime, mTimerResults);
|
||||
simplifyTemplates();
|
||||
} else {
|
||||
simplifyTemplates();
|
||||
}
|
||||
|
||||
// The simplifyTemplates have inner loops
|
||||
if (mSettings->terminated())
|
||||
|
|
Loading…
Reference in New Issue