Open w3ntao opened 8 months ago
CodeChecker is traversing parent directories of a source file up to the root directory. If any of those contains a file named compile_commands.json
, then that will be used for the analysis of the given source file. Therefore, the documentation suggests placing the compile_commands.json
in the analyzed project's directory.
It is said in the document Analyzer User Guide#analyze that:
But how exactly is compilation database JSON file found (implicitly)?