-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
I have created a new project called foo of type "static/shared". During building the project for the first time an error is thrown by clang-tidy due to "invalid case style for type template parameter", although there are no template parameters in the generated example!?
$ cmake --preset=dev && cmake --build --preset=dev
[ 16%] Building CXX object CMakeFiles/foo_foo.dir/source/foo.cpp.o
warning: invalid case style for type template parameter 'expr-type' [readability-identifier-naming]
[ 33%] Linking CXX static library libfoo.a
[ 33%] Built target foo_foo
[ 50%] Building CXX object example/CMakeFiles/empty_example.dir/empty_example.cpp.o
[ 66%] Building CXX object test/CMakeFiles/foo_test.dir/source/foo_test.cpp.o
[ 83%] Linking CXX executable empty_example
[ 83%] Built target empty_example
warning: invalid case style for type template parameter 'expr-type' [readability-identifier-naming]
[100%] Linking CXX executable foo_test
[100%] Built target foo_test
Changing the values of readability-identifier-naming.TemplateParameterCase and readability-identifier-naming.TypeTemplateParameterCase to aNy_CasE fixes this issue but obviously this shouldn't be the solution... Any idea what actually triggers this warning?
Metadata
Metadata
Assignees
Labels
No labels