Refactorization: Improve performance of simplifyTypedef by using Token::simpleMatch by ~15% (forgotten in b8d39a2229)

This commit is contained in:
PKEuS 2015-12-03 12:50:42 +01:00
parent f624f6fc25
commit 00662ec484
1 changed files with 1 additions and 1 deletions

View File

@ -1145,7 +1145,7 @@ void Tokenizer::simplifyTypedef()
}
// check for typedef that can be substituted
else if (Token::Match(tok2, pattern.c_str()) ||
else if (Token::simpleMatch(tok2, pattern.c_str()) ||
(inMemberFunc && tok2->str() == typeName->str())) {
// member function class variables don't need qualification