-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-tidy
More file actions
39 lines (35 loc) · 1.04 KB
/
Copy path.clang-tidy
File metadata and controls
39 lines (35 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Checks: >
clang-diagnostic-*,
clang-analyzer-*,
readability-*,
modernize-*,
bugprone-*,
misc-*,
google-runtime-int,
llvm-header-guard,
fuchsia-restrict-system-includes,
-clang-analyzer-valist.Uninitialized,
-clang-analyzer-security.insecureAPI.rand,
-clang-analyzer-alpha.*,
-readability-magic-numbers,
-readability-non-const-parameter,
-readability-avoid-const-params-in-decls,
-readability-else-after-return,
-readability-isolate-declaration,
-readability-uppercase-literal-suffix,
-bugprone-sizeof-expression,
-bugprone-easily-swappable-parameters,
-readability-identifier-length,
-misc-no-recursion,
-readability-function-cognitive-complexity,
-readability-magic-numbers
WarningsAsErrors: '*'
HeaderFilterRegex: '^(?!.*external).*\.[h|inl]$'
FormatStyle: 'file'
CheckOptions:
- key: readability-braces-around-statements.ShortStatementLines
value: '1'
- key: google-runtime-int.TypeSuffix
value: '_t'
- key: fuchsia-restrict-system-includes.Includes
value: '*,-stdint.h,-stdbool.h,-assert.h'