-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-tidy
40 lines (40 loc) · 2.29 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
---
# cppcoreguidelines-avoid-magic-numbers are deactivated since it is an alias of readability-magic-numbers
Checks: >
*,
-abseil-*,
-altera-*,
-android-*,
-fuchsia-*,
-linuxkernel-*,
-google-readability-namespace-comments,
-google-runtime-int,
-google-runtime-references,
-llvmlibc-*,
-hicpp-no-array-decay,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-avoid-magic-numbers
FormatStyle: 'file'
HeaderFilterRegex: '**/*\.(hpp|h)'
CheckOptions:
- { key: bugprone-argument-comment.StrictMode, value: true }
- { key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic, value: true }
- { key: readability-magic-numbers.IgnoredIntegerValues, value: 0;1;2;3;4;5;6;7;8;9;10;100;1000 }
- { key: readability-magic-numbers.IgnorePowersOf2IntegerValues, value: true }
- { key: readability-magic-numbers.IgnoredFloatingPointValues, value: 0.0;0.33;0.5;0.75;1.0;2.0;10.0;25.0;20.0;50.0;100.0;360.0;1000.0,20000.0 }
- { key: readability-identifier-naming.NamespaceCase, value: CamelCase }
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.StructCase, value: CamelCase }
- { key: readability-identifier-naming.UnionCase, value: CamelCase }
- { key: readability-identifier-naming.TemplateParameterCase, value: CamelCase }
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
- { key: readability-identifier-naming.MemberCase, value: camelBack }
- { key: readability-identifier-naming.ParameterCase, value: camelBack }
- { key: readability-identifier-naming.VariableCase, value: camel_Snake_Case }
- { key: readability-identifier-naming.MacroDefinitionCase, value: UPPER_CASE }
- { key: readability-identifier-naming.EnumConstantCase, value: Camel_Snake_Case }
- { key: readability-identifier-naming.ConstexprVariableCase, value: UPPER_CASE }
- { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.MemberConstantCase, value: CamelCase }
- { key: readability-identifier-naming.StaticConstantCase, value: CamelCase }
...