-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
25 lines (25 loc) · 900 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
Checks: >
bugprone-*,
modernize-*,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
performance-*,
readability-*,
-readability-implicit-bool-conversion,
-readability-magic-numbers,
-readability-redundant-access-specifiers,
# The following checks are disabled, because they have false positives or
# cause warnings in the interface to C APIs.
-clang-analyzer-optin.cplusplus.VirtualCall,
-clang-diagnostic-pedantic,
-readability-convert-member-functions-to-static,
-readability-isolate-declaration,
-readability-make-member-function-const
CheckOptions:
- key: readability-braces-around-statements.ShortStatementLines
value: 1
- key: readability-implicit-bool-conversion.AllowIntegerConditions
value: 1
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: 1
HeaderFilterRegex: 'src/*'