We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 800b8bc commit 6b83ef4Copy full SHA for 6b83ef4
CMakeLists.txt
@@ -242,12 +242,12 @@ find_program(CLANG_AR_BIN clang-apply-replacements REQUIRED)
242
find_program(RUN_CLANG_TIDY_BIN run-clang-tidy)
243
244
list(APPEND RUN_CLANG_TIDY_BIN_ARGS
245
- -clang-tidy-binary ${CLANG_TIDY_BIN}
246
- -clang-apply-replacements-binary ${CLANG_AR_BIN}
247
- -style=file
+ --clang-tidy-binary ${CLANG_TIDY_BIN}
+ --clang-apply-replacements-binary ${CLANG_AR_BIN}
+ --config-file="${CMAKE_CURRENT_SOURCE_DIR}/.clang-tidy"
248
# Limit clang-tidy to project headers
249
- -header-filter="${CMAKE_SOURCE_DIR}/*.h"
250
- -quiet
+ --header-filter="${CMAKE_SOURCE_DIR}/*.h"
+ --quiet
251
)
252
253
# run clang-tidy linter only when compiling with clang (compiler flags may be
0 commit comments