-
Notifications
You must be signed in to change notification settings - Fork 3
/
.clang-tidy
100 lines (100 loc) · 3.98 KB
/
.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
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
89
90
91
92
93
94
95
96
97
98
99
100
Checks: >
-*,
bugprone-*,
-bugprone-easily-swappable-parameters,
-bugprone-branch-clone,
-bugprone-unchecked-optional-access,
cppcoreguidelines-avoid-goto,
cppcoreguidelines-init-variables,
cppcoreguidelines-no-malloc,
cppcoreguidelines-prefer-member-initializer,
cppcoreguidelines-virtual-class-destructor,
misc-const-correctness,
misc-header-include-cycle,
misc-include-cleaner,
misc-misleading-identifier,
misc-misplaced-const,
misc-new-delete-overloads,
misc-non-copyable-objects,
misc-redundant-expression,
misc-static-assert,
misc-throw-by-value-catch-by-reference,
misc-unconventional-assign-operator,
misc-uniqueptr-reset-release,
misc-unused-*,
modernize-avoid-*,
-modernize-avoid-bind,
modernize-concat-nested-namespaces,
modernize-deprecated-*,
modernize-loop-convert,
modernize-make-*,
modernize-min-max-use-initializer-list,
modernize-raw-string-literal,
modernize-redundant-void-arg,
modernize-replace-*,
modernize-unary-static-assert,
modernize-use-bool-literals,
modernize-use-emplace,
modernize-use-equals-*,
modernize-use-noexcept,
modernize-use-nullptr,
modernize-use-override,
modernize-use-starts-ends-with,
modernize-use-using,
boost-use-to-string,
performance-faster-string-find,
performance-for-range-copy,
performance-implicit-conversion-in-loop,
performance-inefficient-*,
-performance-inefficient-string-concatenation,
performance-move-const-arg,
performance-no-automatic-move,
performance-noexcept-destructor,
performance-noexcept-swap,
performance-trivially-destructible,
performance-type-promotion-in-math-fn,
performance-unnecessary-*,
readability-avoid-*,
readability-const-return-type,
readability-container-*,
readability-static-accessed-through-instance,
readability-delete-null-pointer,
readability-duplicate-include,
readability-identifier-naming,
readability-implicit-bool-conversion,
readability-inconsistent-declaration-parameter-name,
readability-make-member-function-const,
readability-math-missing-parentheses,
readability-misleading-indentation,
readability-misplaced-array-index,
readability-named-parameter,
readability-non-const-parameter,
readability-operators-representation,
readability-qualified-auto,
readability-redundant-*,
readability-reference-to-constructed-temporary,
readability-simplify-subscript-expr,
readability-string-compare,
readability-use-std-min-max
HeaderFilterRegex: 'mementar/include/mementar/*'
CheckOptions:
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.StructCase, value: CamelCase }
- { key: readability-identifier-naming.StructSuffix, value: _t }
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
- { key: readability-identifier-naming.VariableCase, value: lower_case }
- { key: readability-identifier-naming.PrivateMemberCase, value: lower_case }
- { key: readability-identifier-naming.PrivateMemberSuffix, value: _ }
- { key: readability-identifier-naming.EnumCase, value: CamelCase }
- { key: readability-identifier-naming.EnumSuffix, value: _e }
- { key: readability-identifier-naming.EnumConstantCase, value: lower_case }
- { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.StaticConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.StaticVariableCase, value: lower_case }
- { key: readability-identifier-naming.StaticVariableSuffix, value: _ }
- { key: readability-operators-representation.BinaryOperators, value: '&&;&=;&;|;~;!;!=;||;|=;^;^=' }
- { key: misc-const-correctness.AnalyzeValues, value: false }
- { key: misc-include-cleaner.DeduplicateFindings, value: false }
ExtraArgsBefore:
- '-frelaxed-template-template-args'