We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-enable-check-profile
1 parent 9c0834b commit ee56f5cCopy full SHA for ee56f5c
1 file changed
cmake/clang_tidy.cmake
@@ -25,8 +25,9 @@ if(RUN_CLANG_TIDY_NAMES)
25
endif()
26
message(STATUS "NPROC=${NPROC}")
27
28
- # TODO: introduced in run-clang-tidy-22
29
- set(CLANG_TIDY_CONFIG "-enable-check-profile")
+ if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 22)
+ set(CLANG_TIDY_CONFIG "-enable-check-profile")
30
+ endif()
31
32
# most of these are disabled because they are too noisy in our code
33
# clang-analyzer-core.CallAndMessage
0 commit comments