File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -242,12 +242,13 @@ find_program(CLANG_AR_BIN clang-apply-replacements REQUIRED)
242
242
find_program (RUN_CLANG_TIDY_BIN run-clang-tidy )
243
243
244
244
list (APPEND RUN_CLANG_TIDY_BIN_ARGS
245
- --clang-tidy-binary ${CLANG_TIDY_BIN}
246
- --clang-apply-replacements-binary ${CLANG_AR_BIN}
247
- --config-file= "${CMAKE_CURRENT_SOURCE_DIR} /.clang-tidy"
245
+ -clang-tidy-binary ${CLANG_TIDY_BIN}
246
+ -clang-apply-replacements-binary ${CLANG_AR_BIN}
247
+ -style=file
248
+ -config-file= "${CMAKE_CURRENT_SOURCE_DIR} /.clang-tidy"
248
249
# Limit clang-tidy to project headers
249
- -- header-filter= "${CMAKE_SOURCE_DIR} /*.h"
250
- -- quiet
250
+ -header-filter= "${CMAKE_SOURCE_DIR} /*.h"
251
+ -quiet
251
252
)
252
253
253
254
# run clang-tidy linter only when compiling with clang (compiler flags may be
You can’t perform that action at this time.
0 commit comments