Skip to content

Commit 4fdc736

Browse files
authored
Set clang-tidy header filter (#80)
The filter tells clang-tidy which headers to scan in every TU it scans. Errors and warnings in a TU are turned on by default. But the headers included in the TU will only be scanned if they match the regex.
1 parent c93cfe6 commit 4fdc736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.clang-tidy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Checks:
33
'clang-diagnostic-*,clang-analyzer-*,performance-*,readability-*,modernize-*,bugprone-*,misc-*,-modernize-use-trailing-return-type'
44
WarningsAsErrors: '*'
5-
HeaderFilterRegex: ''
5+
HeaderFilterRegex: 'include/aws/.*\.h$'
66
FormatStyle: 'none'
77
CheckOptions:
88
- key: modernize-pass-by-value.ValuesOnly

0 commit comments

Comments
 (0)