-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
116 lines (103 loc) · 3.78 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
---
# NOTE there must be no spaces before the '-', so put the comma last.
# The check bugprone-unchecked-optional-access is also turned off atm
# because it causes clang-tidy to hang randomly. The tracking issue
# can be found at https://github.com/llvm/llvm-project/issues/69369.
Checks: >
cppcoreguidelines-*,
bugprone-*,
-bugprone-unchecked-optional-access,
abseil-*,
google-*,
performance-*,
misc-*,
fuchsia-trailing-return,
modernize-use-default-member-init,
modernize-use-nullptr,
modernize-use-override,
modernize-use-transparent-functors,
modernize-use-using,
modernize-redundant-void-arg,
modernize-return-braced-init-list,
modernize-type-traits,
modernize-use-bool-literals,
modernize-avoid-bind,
modernize-avoid-c-arrays,
modernize-deprecated-headers,
modernize-deprecated-ios-base-aliases,
modernize-make-shared,
modernize-make-unique,
modernize-min-max-use-initializer-list,
readability-container-size-empty,
readability-identifier-naming,
readability-redundant-control-flow,
readability-redundant-member-init,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-avoid-const-params-in-decls,
readability-avoid-nested-conditional-operator,
readability-avoid-return-with-void-value,
readability-avoid-unconditional-preprocessor-if,
readability-braces-around-statements,
readability-const-return-type,
readability-container-data-pointer,
readability-container-size-empty,
readability-delete-null-pointer,
readability-enum-initial-value,
readability-implicit-bool-conversion,
readability-inconsistent-declaration-parameter-name,
readability-isolate-declaration,
readability-magic-numbers,
readability-make-member-function-const,
readability-math-missing-parentheses,
readability-misleading-indentation,
readability-named-parameter,
readability-non-const-parameter,
readability-qualified-auto,
readability-redundant-access-specifiers,
readability-redundant-casting,
readability-redundant-control-flow,
readability-redundant-declaration,
readability-redundant-function-ptr-dereference,
readability-redundant-inline-specifier,
readability-redundant-member-init,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-redundant-string-init,
readability-reference-to-constructed-temporary,
readability-simplify-boolean-expr,
readability-simplify-subscript-expr,
readability-static-accessed-through-instance,
readability-static-definition-in-anonymous-namespace,
readability-string-compare,
readability-uniqueptr-delete-release
CheckOptions:
- { key: readability-redundant-inline-specifier.StrictMode, value: 'true' }
- { key: readability-identifier-length.IgnoredVariableNames, value: 'e|i|j|k' }
- { key: readability-identifier-naming.ClassMethodCase, value: 'CamelCase' }
- { key: readability-identifier-naming.ClassCase, value: 'CamelCase' }
- { 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.StructCase, value: 'CamelCase' }
- { key: readability-identifier-naming.TypeAliasCase, value: 'CamelCase' }
- { key: readability-identifier-naming.PrivateMemberCase, value: 'camelBack' }
- { key: readability-identifier-naming.PrivateMemberPrefix, value: '_' }
- { key: readability-identifier-naming.ParameterCase, value: 'camelBack' }
HeaderFileExtensions:
- ''
- h
- hh
- hpp
- hxx
- tpp
- cuh
ImplementationFileExtensions:
- c
- cc
- cpp
- cxx
- cu
HeaderFilterRegex: ''
SystemHeaders: false
WarningsAsErrors: '*'