The pattern for unittest now excludes third_party headers as well.
-clang-analyzer-valist.Uninitialized,
-clang-analyzer-optin.performance.Padding'
WarningsAsErrors: '*'
-# Exclude subdirectories (currently there is only third_party)
-HeaderFilterRegex: 'src/[^\\/]*^'
+# Only include headers directly in src.
+HeaderFilterRegex: 'src/[^/]*$'
CheckOptions:
# Always add braces (added here just in case clang-tidy default changes).
- key: readability-braces-around-statements.ShortStatementLines
---
Checks: '-*,readability-function-size'
WarningsAsErrors: '*'
-HeaderFilterRegex: 'unittest/.*'
-CheckOptions:
+# Only include headers directly in unittest.
+HeaderFilterRegex: 'unittest/[^/]*$'
+CheckOptions:
# Always add braces (added here just in case clang-tidy default changes).
- key: readability-braces-around-statements.ShortStatementLines
value: 0