-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path.clang-tidy
More file actions
52 lines (49 loc) · 1.68 KB
/
Copy path.clang-tidy
File metadata and controls
52 lines (49 loc) · 1.68 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
Checks: [
-*,
clang-diagnostic-*,
misc-*,
llvm-*,
bugprone-*,
performance-*,
readability-identifier-naming,
-misc-unused-parameters,
-misc-non-private-member-variables-in-classes,
-misc-no-recursion,
-misc-use-anonymous-namespace,
-llvm-else-after-return,
-performance-avoid-endl,
-bugprone-macro-parentheses,
# Disable since its needed for Catch2 macros.
-bugprone-chained-comparison,
# TODO(#16): Determine if these should either be re-enabled (and fixed) or
# permanently moved above.
-misc-const-correctness,
-bugprone-easily-swappable-parameters,
-bugprone-unchecked-optional-access,
-performance-no-int-to-ptr,
-bugprone-crtp-constructor-accessibility,
-performance-inefficient-string-concatenation,
-bugprone-use-after-move,
]
HeaderFilterRegex: '.*\.(h|hpp)$'
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.MemberCase
value: camelBack
- key: readability-identifier-naming.PrivateMemberSuffix
value: '_'
- key: readability-identifier-naming.ProtectedMemberSuffix
value: '_'
- key: readability-identifier-naming.PublicMemberSuffix
value: ''
- key: readability-identifier-naming.GlobalConstantCase
value: CamelCase
- key: readability-identifier-naming.GlobalConstantPrefix
value: k