Skip to content

Commit 95d1741

Browse files
committed
core: cmake upadted for exclude header regex
1 parent 69214f9 commit 95d1741

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.clang-tidy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Checks: >
44
WarningsAsErrors: '*'
55

66
HeaderFilterRegex: '(include/.*|source/.*)'
7-
ExcludeHeaderFilterRegex: 'build/.*'
87

98
CheckOptions:
109
# Private member variables

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ if(CLANG_TIDY_EXE)
1515
"--config-file=${CMAKE_SOURCE_DIR}/.clang-tidy"
1616
"--extra-arg-before=-Wno-unknown-warning-option"
1717
"--extra-arg-before=-Wno-c++98-compat-pedantic"
18+
"--exclude-header-filter=build/.*"
1819
"--quiet"
1920
)
2021
endif()

0 commit comments

Comments
 (0)