-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-tidy
More file actions
50 lines (50 loc) · 2.82 KB
/
.clang-tidy
File metadata and controls
50 lines (50 loc) · 2.82 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
Checks: "clang-diagnostic-*,clang-analyzer-*,cppcoreguidelines-*,modernize-*,llvm-*,performance-*,portability-*,readability-*,bugprone-optional-value-conversion,-modernize-use-trailing-return-type,-readability-function-cognitive-complexity,-readability-identifier-length,-llvm-header-guard,-llvm-prefer-static-over-anonymous-namespace,-cppcoreguidelines-avoid-do-while,-,-readability-magic-numbers,-cppcoreguidelines-pro-type-member-init,-readability-convert-member-functions-to-static,-cppcoreguidelines-avoid-const-or-ref-data-members,-readability-use-concise-preprocessor-directives"
WarningsAsErrors: true
HeaderFilterRegex: ""
FormatStyle: LLVM
ExtraArgs: ["-std=c++23"]
CheckOptions:
- key: modernize-use-std-numbers.DiffThreshold
value: '0.0000001'
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.StructCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: lower_case
- key: readability-identifier-naming.MethodCase
value: camelBack
- key: readability-identifier-naming.VirtualMethodCase
value: camelBack
- key: readability-identifier-naming.PrivateMethodCase
value: camelBack
- key: readability-identifier-naming.ProtectedMethodCase
value: camelBack
- key: readability-identifier-naming.LocalVariableCase
value: lower_case
- key: readability-identifier-naming.ParameterCase
value: lower_case
- key: readability-identifier-naming.MemberCase
value: lower_case
- key: readability-identifier-naming.PrivateMemberCase
value: lower_case
- key: readability-identifier-naming.ProtectedMemberCase
value: lower_case
- key: readability-identifier-naming.GlobalConstantCase
value: lower_case
- key: readability-identifier-naming.LocalConstantCase
value: lower_case
- key: readability-identifier-naming.ClassConstantCase
value: lower_case
- key: readability-identifier-naming.ConstexprVariableCase
value: UPPER_CASE
- key: readability-identifier-naming.GlobalConstexprVariableCase
value: UPPER_CASE
- key: readability-identifier-naming.LocalConstexprVariableCase
value: UPPER_CASE
- key: readability-identifier-naming.StaticConstexprVariableCase
value: UPPER_CASE
- key: readability-identifier-naming.EnumConstantCase
value: CamelCase