-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.clang-tidy
33 lines (33 loc) · 887 Bytes
/
.clang-tidy
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
---
Checks: [
'-*',
'clang-analyzer-*',
'-clang-analyzer-cplusplus.*',
'-clang-analyzer-security.*',
'-clang-analyzer-deadcode.DeadStores',
'clang-diagnostic-*',
'bugprone-*',
'-bugprone-assignment-in-if-condition',
'-bugprone-reserved-identifier',
'concurrency-*',
'misc-*',
'-misc-include-cleaner',
'performance-*',
'-performance-no-int-to-ptr',
'portability-*',
'readability-*',
'-readability-function-cognitive-complexity',
'-readability-identifier-length',
'-readability-isolate-declaration',
'-readability-magic-numbers',
]
CheckOptions:
readability-braces-around-statements.ShortStatementLines: 2
WarningsAsErrors: 'clang-analyzer-unix.*,clang-analyzer-core.NullDereference'
HeaderFileExtensions: ['h']
ImplementationFileExtensions: ['c']
HeaderFilterRegex: '\/src\/.*\.h$'
FormatStyle: none
InheritParentConfig: false
UseColor: true
...