-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy path.clang-tidy
More file actions
31 lines (31 loc) · 1.65 KB
/
.clang-tidy
File metadata and controls
31 lines (31 loc) · 1.65 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
---
Checks: bugprone-*, modernize-*, performance-*, readability-*, -bugprone-branch-clone,
-bugprone-easily-swappable-parameters, -bugprone-inc-dec-in-conditions, -bugprone-macro-parentheses,
-bugprone-switch-missing-default-case, -clang-analyzer-optin.performance.Padding,
-clang-diagnostic-unused-command-line-argument, -modernize-concat-nested-namespaces,
-modernize-use-nodiscard, -modernize-use-trailing-return-type, -performance-enum-size,
-performance-move-const-arg, -readability-duplicate-include, -readability-convert-member-functions-to-static,
-readability-enum-initial-value, -readability-isolate-declaration, -readability-named-parameter,
-readability-qualified-auto, -readability-redundant-member-init, -readability-uppercase-literal-suffix,
CheckOptions:
- key: readability-magic-numbers.IgnoredIntegerValues
value: 1;2;3;4;5;10;100;1000;10000;100000;1000000
- key: readability-magic-numbers.IgnorePowersOf2IntegerValues
value: 'true'
- key: readability-magic-numbers.IgnoreAllFloatingPointValues
value: 'true'
- key: cppcoreguidelines-avoid-magic-numbers.IgnoredIntegerValues
value: 1;2;3;4;5;10;100;1000;10000;100000;1000000
- key: cppcoreguidelines-avoid-magic-numbers.IgnorePowersOf2IntegerValues
value: 'true'
- key: cppcoreguidelines-avoid-magic-numbers.IgnoreAllFloatingPointValues
value: 'true'
- key: readability-identifier-length.IgnoredVariableNames
value: e|i|j|k|m|n|fd|id|io|ok|wd|_
- key: readability-identifier-length.IgnoredParameterNames
value: fd|id|wd
- key: readability-function-cognitive-complexity.IgnoreMacros
value: 'true'
WarningsAsErrors: ''
HeaderFilterRegex: ''
FormatStyle: none