-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-tidy
More file actions
88 lines (87 loc) · 2.56 KB
/
Copy path.clang-tidy
File metadata and controls
88 lines (87 loc) · 2.56 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# config file for clang-tidy.
Checks: >
-*,
bugprone-*,
cert-*,
clang-analyzer-*,
concurrency-*,
cppcoreguidelines-*,
google-build-explicit-make-pair,
google-build-namespaces,
google-default-arguments,
google-explicit-constructor,
google-global-names-in-headers,
google-readability-casting,
google-runtime-int,
google-runtime-operator,
hicpp-*,
-hicpp-uppercase-literal-suffix,
llvm-namespace-comment,
misc-*,
-misc-const-correctness,
-misc-no-recursion,
modernize-*,
-modernize-use-trailing-return-type,
mpi-buffer-deref,
mpi-type-mismatch,
objc-*,
openmp-use-default-none,
performance-*,
portability-*,
-portability-simd-intrinsics,
readability-*,
-readability-braces-around-statements,
-readability-function-cognitive-complexity,
-readability-magic-numbers,
-readability-uppercase-literal-suffix
WarningsAsErrors: >
*,
-bugprone-exception-escape,
-bugprone-easily-swappable-parameters,
-cert-err58-cpp,
-clang-analyzer-optin.core.EnumCastOutOfRange,
-misc-const-correctness,
-modernize-use-trailing-return-type,
-readability-identifier-length,
-readability-function-size,
CheckOptions:
- key: bugprone-argument-comment.StrictMode
value: 1
- key: bugprone-misplaced-widening-cast.CheckImplicitCasts
value: 1
- key: bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression
value: 1
- key: bugprone-suspicious-enum-usage.StrictMode
value: 1
- key: bugprone-suspicious-string-compare.WarnOnLogicalNotComparison
value: 1
- key: cppcoreguidelines-narrowing-conversions.WarnWithinTemplateInstantiation
value: 1
- key: cppcoreguidelines-narrowing-conversions.PedanticMode
value: 1
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
value: 1
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: 1
- key: performance-inefficient-string-concatenation.StrictMode
value: 1
- key: readability-function-size.BranchThreshold
value: 25
- key: readability-function-size.ParameterThreshold
value: 10
- key: readability-identifier-length.MinimumLoopCounterNameLength
value: 1
- key: readability-inconsistent-declaration-parameter-name.Strict
value: 1
- key: readability-simplify-boolean-expr.ChainedConditionalReturn
value: 1
- key: readability-simplify-boolean-expr.ChainedConditionalAssignment
value: 1
- key: readability-uniqueptr-delete-release.PreferResetCall
value: 1
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.MethodCase
value: lower_case
FormatStyle: file
UseColor: true