Skip to content

Commit def09a4

Browse files
committed
chore: update clang-tidy settings
1 parent 6ab0d66 commit def09a4

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.clang-tidy

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
Checks: >
1+
---
2+
InheritParentConfig: true
3+
ExtraArgs: ['-v']
4+
FormatStyle: file
5+
UseColor: true
6+
WarningsAsErrors: '*'
7+
HeaderFilterRegex: '^(?!.*(3rdparty|build)).*$'
8+
9+
# NOTE: there must be no spaces before the '-', so put the comma last.
10+
Checks: >-
211
# 1. Retained categories: easier to find bugs/performance issues
312
clang-analyzer-*,
413
cppcoreguidelines-pro-type-static-cast-downcast,
@@ -47,7 +56,3 @@ Checks: >
4756
-clang-analyzer-deadcode.DeadStores,
4857
-clang-analyzer-optin.cplusplus.VirtualCall,
4958
-clang-diagnostic-tautological-constant-compare,
50-
51-
WarningsAsErrors: '*'
52-
53-
HeaderFilterRegex: '^(?!.*(3rdparty|build)).*$'

0 commit comments

Comments
 (0)