CodeCompass icon indicating copy to clipboard operation
CodeCompass copied to clipboard

Handle duplicated compile commands

Open mcserep opened this issue 1 year ago • 0 comments

Compilation databases (compile_commands.json) may contain duplicated compilation commands for the same translation unit.

In such cases incremental parsing reports that the affected TU has already been parsed, even in case of a forced reparse. Clearly, incremental parsing was not prepared for such cases.

That issue should be fixed and it should be checked in general for the parser component of CodeCompass, that duplicated compilation commands are handled in an acceptable way.

mcserep avatar Apr 29 '24 12:04 mcserep