ClangImport; set exprid

This commit is contained in:
Daniel Marjamäki 2021-01-06 11:03:43 +01:00
parent 3a86262244
commit 168db9351d
2 changed files with 2 additions and 1 deletions

View File

@ -1559,6 +1559,7 @@ void clangimport::parseClangAstDump(Tokenizer *tokenizer, std::istream &f)
}
symbolDatabase->clangSetVariables(data.getVariableList());
symbolDatabase->createSymbolDatabaseExprIds();
tokenList->clangSetOrigFiles();
setTypes(tokenList);
setValues(tokenizer, symbolDatabase);

View File

@ -1352,6 +1352,7 @@ public:
void setArrayDimensionsUsingValueFlow();
void clangSetVariables(const std::vector<const Variable *> &variableList);
void createSymbolDatabaseExprIds();
private:
friend class Scope;
@ -1375,7 +1376,6 @@ private:
void createSymbolDatabaseEnums();
void createSymbolDatabaseEscapeFunctions();
void createSymbolDatabaseIncompleteVars();
void createSymbolDatabaseExprIds();
void addClassFunction(Scope **scope, const Token **tok, const Token *argStart);
Function *addGlobalFunctionDecl(Scope*& scope, const Token* tok, const Token *argStart, const Token* funcStart);