-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-tidy
19 lines (19 loc) · 916 Bytes
/
.clang-tidy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Checks: '
-*,
readability-identifier-naming,
cert-env33-c,cert-err34-c,cert-flp30-c,
bugprone-suspicious-string-compare,
bugprone-macro-parentheses,
misc-non-copyable-objects,
clang-analyzer-core.uninitialized.*,
clang-analyzer-unix.Malloc,
clang-analyzer-unix.MismatchedDeallocator,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling
'
WarningsAsErrors: '*'
CheckOptions:
- { key: readability-identifier-naming.TypedefCase, value: CamelCase }
- { key: readability-identifier-naming.TypedefPrefix, value: cmocka }
- { key: readability-identifier-naming.TypedefSuffix, value: _t }
- { key: readability-identifier-naming.TypedefIgnoredRegexp, value: '^_.+' }
- { key: readability-identifier-naming.ParameterIgnoredRegexp, value: '^_.+' }