[clang-tools-extra] readability-identifier-naming should add universal default options (PR #171686)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 11 13:06:38 PST 2025
vbvictor wrote:
> I don't understand why the new tests are failing in CI but only on Windows, they pass on my Linux machine. Having trouble deciphering the test output, but it looks like it is not recognizing the `MyVariable` as something to be fixed?
>
> ```
> # | C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\readability\identifier-naming-default-lower.cpp:39:20: error: CHECK-MESSAGES: expected string not found in input
> # |
> # | // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: invalid case style for default 'MyVariable' [readability-identifier-naming]
> # |
> ```
You should add `-fno-delayed-template-parsing` and, AFAIK, instantiate the function. Look at other `identifier-naming` test files with this flag passed.
https://github.com/llvm/llvm-project/pull/171686
More information about the cfe-commits
mailing list