Forgot to commit a file in eb2962792f
.
This commit is contained in:
parent
eb2962792f
commit
fd7c90f68d
|
@ -9168,13 +9168,9 @@ void Tokenizer::createSymbolDatabase()
|
|||
}
|
||||
|
||||
// Set function pointers
|
||||
const std::size_t functions = _symbolDatabase->functionScopes.size();
|
||||
for (std::size_t i = 0; i < functions; ++i) {
|
||||
const Scope * scope = _symbolDatabase->functionScopes[i];
|
||||
for (Token* tok = scope->classStart->next(); tok != scope->classEnd; tok = tok->next()) {
|
||||
if (Token::Match(tok, "%var% (")) {
|
||||
tok->function(_symbolDatabase->findFunction(tok));
|
||||
}
|
||||
for (Token* tok = list.front(); tok != list.back(); tok = tok->next()) {
|
||||
if (Token::Match(tok, "%var% (")) {
|
||||
tok->function(_symbolDatabase->findFunction(tok));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue