Forgot to commit a file in eb2962792f
.
This commit is contained in:
parent
eb2962792f
commit
fd7c90f68d
|
@ -9168,15 +9168,11 @@ void Tokenizer::createSymbolDatabase()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set function pointers
|
// Set function pointers
|
||||||
const std::size_t functions = _symbolDatabase->functionScopes.size();
|
for (Token* tok = list.front(); tok != list.back(); tok = tok->next()) {
|
||||||
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% (")) {
|
if (Token::Match(tok, "%var% (")) {
|
||||||
tok->function(_symbolDatabase->findFunction(tok));
|
tok->function(_symbolDatabase->findFunction(tok));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Set variable pointers
|
// Set variable pointers
|
||||||
for (Token* tok = list.front(); tok != list.back(); tok = tok->next()) {
|
for (Token* tok = list.front(); tok != list.back(); tok = tok->next()) {
|
||||||
|
|
Loading…
Reference in New Issue