-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy path.clang-tidy
More file actions
57 lines (52 loc) · 2.21 KB
/
.clang-tidy
File metadata and controls
57 lines (52 loc) · 2.21 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
53
54
55
56
57
Checks: >
-*,
# Standard C++ Guidelines (Modernization, Idioms)
modernize-*,
performance-*,
readability-*,
# Bug Detection and Safety
bugprone-*,
# misc-const-correctness,
# Specific high-value checks (even if not in a group above)
google-runtime-int,
# Exclusions/Suppressions (Checks often considered too aggressive or subjective)
-bugprone-throwing-static-initialization,
-cppcoreguidelines-owning-memory,
-modernize-use-trailing-return-type,
-readability-avoid-const-params-in-decls,
-readability-avoid-nested-conditional-operator,
-readability-container-contains,
-readability-else-after-return,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-isolate-declaration,
-readability-magic-numbers,
-readability-math-missing-parentheses,
-readability-redundant-access-specifiers,
-readability-uppercase-literal-suffix,
-readability-function-size,
-readability-convert-member-functions-to-static
WarningsAsErrors: '*'
HeaderFilterRegex: '.*(ipc/).*'
UseColor: true
FormatStyle: file
ExtraArgs:
- '-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk'
CheckOptions:
readability-identifier-naming.ClassCase: CamelCase
readability-identifier-naming.ConstantParameterCase: lower_case
readability-identifier-naming.ConstantParameterIgnoredRegexp: '^(_.*)$'
readability-identifier-naming.FunctionCase: lower_case
readability-identifier-naming.FunctionIgnoredRegexp: '^(AbslHashValue|.*[123][Ddf].*)$'
readability-identifier-naming.GlobalConstantCase: UPPER_CASE
readability-identifier-naming.MemberCase: lower_case
readability-identifier-naming.MemberIgnoredRegexp: '^([A-Z])$'
readability-identifier-naming.MethodCase: lower_case
readability-identifier-naming.MethodIgnoredRegexp: '^(.*[123][Ddf].*)$'
readability-identifier-naming.ParameterIgnoredRegexp: '^(_.*)$'
readability-identifier-naming.StructCase: CamelCase
readability-identifier-naming.VariableCase: aNy_CasE
readability-identifier-naming.VariableIgnoredRegexp: '^(_.*)$'
readability-identifier-naming.EnumCase: CamelCase
readability-identifier-naming.EnumConstantCase: UPPER_CASE