zeyi2 wrote:

This is mostly just a hypothesis for now.

I think the Windows fails because 
`clang-tools-extra/test/clang-tidy/infrastructure/Inputs/param/parameters.txt` 
incorrectly uses single quotes for the -checks argument.

On Windows, the argument is 
[parsed](https://github.com/llvm/llvm-project/blob/fb0400fe1f1f9e83f3148db8ce2c72ab5bc6728e/llvm/lib/Support/CommandLine.cpp#L940)
 as a check named `' -*,llvm-namespace-comment '`, which matches no existing 
checks, so no checks are enabled via the command line.

Previously, the test passed because it fell back to the root `.clang-tidy` 
configuration which enables `llvm-*`.

I'll open a PR to fix the issue in `parameters.txt` first.

https://github.com/llvm/llvm-project/pull/171029
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to