ClangImport; Assign token indexes

This commit is contained in:
Daniel Marjamäki 2021-01-06 11:07:21 +01:00
parent 168db9351d
commit 0bd401c17b
1 changed files with 1 additions and 0 deletions

View File

@ -1558,6 +1558,7 @@ void clangimport::parseClangAstDump(Tokenizer *tokenizer, std::istream &f)
throw InternalError(tok, "Token::link() is not set properly");
}
tokenList->front()->assignIndexes();
symbolDatabase->clangSetVariables(data.getVariableList());
symbolDatabase->createSymbolDatabaseExprIds();
tokenList->clangSetOrigFiles();