-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
35 lines (35 loc) · 953 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
34
35
---
Checks: [
'-*',
'clang-analyzer-*',
'-clang-analyzer-cplusplus.*',
'-clang-analyzer-security.*',
'clang-diagnostic-*',
'bugprone-*',
'-bugprone-easily-swappable-parameters',
'-bugprone-narrowing-conversions',
'-bugprone-reserved-identifier',
'-bugprone-switch-missing-default-case',
'concurrency-*',
'misc-*',
'-misc-include-cleaner',
'-misc-no-recursion',
'-misc-unused-parameters',
'performance-*',
'portability-*',
'readability-*',
'-readability-function-cognitive-complexity',
'-readability-identifier-length',
'-readability-magic-numbers',
'-readability-suspicious-call-argument',
]
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
...