Skip to content

Commit c9fe8e0

Browse files
authored
Enable clang-tidy on header files (fix broken regex) (#194)
1 parent 0d1f245 commit c9fe8e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.clang-tidy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
Checks: 'clang-diagnostic-*,clang-analyzer-*,readability-*,modernize-*,bugprone-*,misc-*,google-runtime-int,fuchsia-restrict-system-includes,-clang-analyzer-valist.Uninitialized,-clang-analyzer-security.insecureAPI.rand,-clang-analyzer-alpha.*,-readability-magic-numbers,-readability-non-const-parameter,-readability-isolate-declaration,-readability-uppercase-literal-suffix'
33
WarningsAsErrors: '*'
4-
HeaderFilterRegex: '\./*'
4+
HeaderFilterRegex: '.*\.[h|inl]$'
55
FormatStyle: 'file'
66
# Use empty line filter to skip linting code we don't own
77
CheckOptions:

0 commit comments

Comments
 (0)