CodeCompass
CodeCompass copied to clipboard
Incremental parsing issue fixes
Fixes #735
In accordance with the diagnosis outlined in https://github.com/Ericsson/CodeCompass/issues/735#issuecomment-2078918431 , the following fixes have been made:
- A new
CppAstNodeMetricsFileViewdb view has been added to manage the AST node ID <-> File ID association (_astNodeIdCache) inCppMetricsParser::CppMetricsParser. - The
.size()call inSourceManager::removeFilehas been replaced by a newisSingletonResulthelper function in dbutil.