[clang-tools-extra] [Clang-tidy] Add dummy compile_commands.json for broken test (PR #191635)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 11 13:12:18 PDT 2026
vbvictor wrote:
> > If the tests is failing because of guessing incorrect flags in compiler_commands.json, I think one of the solution would to create a temp dir with predefined compiler_commands.json so that test will always pick it.
> Like this?
Yes, this seems to solve issue "guess random file from compiler_commands.json". If this works for you, LGTM
My initial understanding was that the test was made robust by changing main.cpp -> cqc-main.cpp but apperatly that was not the case.
https://github.com/llvm/llvm-project/pull/191635
More information about the cfe-commits
mailing list