lebedev.ri added a comment. I'm not sure what this differential *actually* does.
That being said https://clang.llvm.org/docs/JSONCompilationDatabase.html#format > directory: The working directory of the compilation. All paths specified in > the command or file fields must be either absolute or relative to this > directory. > file: The main translation unit source processed by this compilation step. > This is used by tools as the key into the compilation database. There can be > multiple command objects for the same file, for example if the same source > file is compiled with different configurations. Can you just make clang-tidy respect the `directory` value? If `directory` is invalid, then it is not a valid Compilation Database to begin with.. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D49890 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits