-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
35 lines (34 loc) · 2.79 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
Checks: "-*,bugprone-*,modernize-*,-modernize-use-trailing-return-type,performance-,cppcoreguidelines-*,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,misc-*,-misc-non-private-member-variables-in-classes,readability-*,-readability-else-after-return,-readability-simplify-boolean-expr,-readability-implicit-bool-cast,-readability-named-parameter,-readability-inconsistent-declaration-parameter-name,-readability-uppercase-literal-suffix,-readability-magic-numbers,-cppcoreguidelines-avoid-magic-numbers,-cppcoreguidelines-avoid-c-arrays,-modernize-avoid-c-arrays,google-*,-google-runtime-int,-google-readability-namespace-comments,-misc-no-recursion,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-modernize-pass-by-value,-google-explicit-constructor,-google-readability-function-size,-readability-function-size,-cppcoreguidelines-pro-type-vararg,-bugprone-macro-parentheses,-cppcoreguidelines-pro-type-static-cast-downcast,-readability-function-cognitive-complexity,readability-identifier-naming,-google-build-using-namespace,-modernize-raw-string-literal,-cppcoreguidelines-macro-usage,-cppcoreguidelines-pro-type-union-access,-bugprone-infinite-loop,-cppcoreguidelines-pro-type-reinterpret-cast"
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.ClassMethodCase
value: CamelCase
- key: readability-identifier-naming.ConstantParameterCase
value: lower_case
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.EnumConstantCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: CamelCase
- key: readability-identifier-naming.LocalVariableCase
value: lower_case
- key: readability-identifier-naming.GlobalVariableCase
value: CamelCase
- key: readability-identifier-naming.PrivateMemberCase
value: lower_case
- key: readability-identifier-naming.NamespaceCase
value: lower_case
- key: readability-identifier-naming.ParameterCasePrefix
value: ''
- key: readability-identifier-naming.ParameterCase
value: lower_case
- key: readability-identifier-naming.GlobalConstantCase
value: CamelCase
- key: readability-identifier-naming.StaticVariableCase
value: CamelCase
- key: readability-identifier-naming.ConstexprVariableCase
value: CamelCase
- key: readability-identifier-naming.MacroDefinitionCase
value: UPPER_CASE