Skip to content

Commit bb2f8e8

Browse files
committed
header filter
1 parent 5b83755 commit bb2f8e8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.clang-tidy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
Checks: >
22
*,
33
bugprone-*,
4+
cppcoreguidelines-*
45
misc-*,
6+
modernize-*,
57
performance-*,
68
portability-*,
79
readability-*
810
911
# Turn all the warnings from the checks above into errors.
12+
HeaderFilterRegex: ''
1013
UseColor: true
1114
WarningsAsErrors: ''

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ if(BUILD_TESTING AND INJA_BUILD_TESTS)
9898
if(INJA_ENABLE_CLANG_TIDY)
9999
find_program(CLANG_TIDY_EXE NAMES "clang-tidy" REQUIRED)
100100
set(CLANG_TIDY_COMMAND "${CLANG_TIDY_EXE}" "-config-file=${CMAKE_CURRENT_SOURCE_DIR}/.clang-tidy")
101-
set_target_properties(inja PROPERTIES CXX_CLANG_TIDY "${CLANG_TIDY_COMMAND}")
101+
set_target_properties(inja_test PROPERTIES CXX_CLANG_TIDY "${CLANG_TIDY_COMMAND}")
102102
endif()
103103

104104

0 commit comments

Comments
 (0)