Skip to content

Commit 69214f9

Browse files
committed
core: exclude header added in clang-tidy
1 parent 01229c3 commit 69214f9

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.clang-tidy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ Checks: >
33
44
WarningsAsErrors: '*'
55

6-
HeaderFilterRegex: '(^|.*/)include/.*|(^|.*/)source/.*'
6+
HeaderFilterRegex: '(include/.*|source/.*)'
7+
ExcludeHeaderFilterRegex: 'build/.*'
78

89
CheckOptions:
910
# Private member variables

source/0001_Basics/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ set(0001BASICS_SOURCES
44
)
55

66
# Create a library target
7-
add_library(0001Basics ${0001BASICS_SOURCES})
7+
add_library(0001BASICS ${0001BASICS_SOURCES})

test/0001_Basics/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ target_link_libraries(
2323

2424
target_link_libraries(
2525
0001-Basics-Tests
26-
0001Basics
26+
0001BASICS
2727
)
2828

2929

0 commit comments

Comments
 (0)