-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-tidy
More file actions
36 lines (35 loc) · 1.17 KB
/
Copy path.clang-tidy
File metadata and controls
36 lines (35 loc) · 1.17 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
Checks: >
modernize-*,
-modernize-use-trailing-return-type,
bugprone-*,
-bugprone-easily-swappable-parameters,
performance-*,
readability*,
-readability-magic-numbers,
-readability-avoid-unconditional-preprocessor-if,
-readability-redundant-control-flow,
-readability-uppercase-literal-suffix,
cppcoreguidelines*,
-cppcoreguidelines-avoid-const-or-ref-data-members,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-c-copy-assignment-signature,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
clang-analyzer-*,
hicpp-*,
portability-*,
misc-*,
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
ExcludePaths: '.*\\.test\\.cpp$'
FormatStyle: file
CheckOptions:
- key: readability-braces-around-statements.ShortStatementLines
value: '0'
- key: readability-identifier-length.MinimumVariableNameLength
value: '2'
- key: readability-identifier-length.MinimumParameterNameLength
value: '1'
- key: readability-simplify-boolean-expr.IgnoreMacros
value: true