Skip to content

Commit 0bd401c

Browse files
committed
ClangImport; Assign token indexes
1 parent 168db93 commit 0bd401c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/clangimport.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,6 +1558,7 @@ void clangimport::parseClangAstDump(Tokenizer *tokenizer, std::istream &f)
15581558
throw InternalError(tok, "Token::link() is not set properly");
15591559
}
15601560

1561+
tokenList->front()->assignIndexes();
15611562
symbolDatabase->clangSetVariables(data.getVariableList());
15621563
symbolDatabase->createSymbolDatabaseExprIds();
15631564
tokenList->clangSetOrigFiles();

0 commit comments

Comments
 (0)