• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021-2022 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14---
15WarningsAsErrors: "*"
16AnalyzeTemporaryDtors: false
17User: user
18CheckOptions:
19  - key: google-readability-braces-around-statements.ShortStatementLines
20    value: "1"
21  - key: google-readability-function-size.StatementThreshold
22    value: "800"
23  - key: google-readability-namespace-comments.ShortNamespaceLines
24    value: "10"
25  - key: google-readability-namespace-comments.SpacesBeforeComments
26    value: "2"
27  - key: modernize-loop-convert.MaxCopySize
28    value: "16"
29  - key: modernize-loop-convert.MinConfidence
30    value: reasonable
31  - key: modernize-loop-convert.NamingStyle
32    value: CamelCase
33  - key: modernize-pass-by-value.IncludeStyle
34    value: llvm
35  - key: modernize-replace-auto-ptr.IncludeStyle
36    value: llvm
37  - key: modernize-use-nullptr.NullMacros
38    value: "NULL"
39  - key: readability-function-size.LineThreshold
40    value: 200
41  - key: readability-magic-numbers.IgnoredIntegerValues
42    value: "1;2;3;4;5;6;7;8"
43  - key: readability-identifier-naming.AbstractClassCase
44    value: CamelCase
45  - key: readability-identifier-naming.ClassCase
46    value: CamelCase
47  - key: readability-identifier-naming.ClassConstantCase
48    value: UPPER_CASE
49  - key: readability-identifier-naming.ClassMemberCase
50    value: camelBack
51  - key: readability-identifier-naming.ClassMemberSuffix
52    value: _
53  - key: readability-identifier-naming.ClassMethodCase
54    value: CamelCase
55  - key: readability-identifier-naming.ConstantCase
56    value: UPPER_CASE
57  - key: readability-identifier-naming.ConstantMemberCase
58    value: camelBack
59  - key: readability-identifier-naming.ConstantMemberSuffix
60    value: _
61  - key: readability-identifier-naming.ConstantParameterCase
62    value: camelBack
63  - key: readability-identifier-naming.ConstantPointerParameterCase
64    value: camelBack
65  - key: readability-identifier-naming.ConstexprFunctionCase
66    value: CamelCase
67  - key: readability-identifier-naming.ConstexprMethodCase
68    value: CamelCase
69  - key: readability-identifier-naming.ConstexprVariableCase
70    value: UPPER_CASE
71  - key: readability-identifier-naming.EnumCase
72    value: CamelCase
73  - key: readability-identifier-naming.EnumConstantCase
74    value: UPPER_CASE
75  - key: readability-identifier-naming.FunctionCase
76    value: CamelCase
77  - key: readability-identifier-naming.GlobalConstantCase
78    value: UPPER_CASE
79  - key: readability-identifier-naming.GlobalConstantPointerCase
80    value: UPPER_CASE
81  - key: readability-identifier-naming.GlobalFunctionCase
82    value: CamelCase
83  - key: readability-identifier-naming.GlobalPointerCase
84    value: camelBack
85  - key: readability-identifier-naming.GlobalPointerPrefix
86    value: g_
87  - key: readability-identifier-naming.GlobalVariableCase
88    value: camelBack
89  - key: readability-identifier-naming.GlobalVariablePrefix
90    value: g_
91  - key: readability-identifier-naming.InlineNamespaceCase
92    value: lower_case
93  - key: readability-identifier-naming.LocalConstantCase
94    value: camelBack
95  - key: readability-identifier-naming.LocalConstantPointerCase
96    value: camelBack
97  - key: readability-identifier-naming.LocalPointerCase
98    value: camelBack
99  - key: readability-identifier-naming.LocalVariableCase
100    value: camelBack
101  - key: readability-identifier-naming.MemberCase
102    value: camelBack
103  - key: readability-identifier-naming.MemberSuffix
104    value: _
105  - key: readability-identifier-naming.MethodCase
106    value: CamelCase
107  - key: readability-identifier-naming.NamespaceCase
108    value: lower_case
109  - key: readability-identifier-naming.ParameterCase
110    value: camelBack
111  - key: readability-identifier-naming.ParameterPackCase
112    value: camelBack
113  - key: readability-identifier-naming.PointerParameterCase
114    value: camelBack
115  - key: readability-identifier-naming.PrivateMemberCase
116    value: camelBack
117  - key: readability-identifier-naming.PrivateMemberSuffix
118    value: _
119  - key: readability-identifier-naming.PrivateMethodCase
120    value: CamelCase
121  - key: readability-identifier-naming.ProtectedMemberCase
122    value: camelBack
123  - key: readability-identifier-naming.ProtectedMemberSuffix
124    value: _
125  - key: readability-identifier-naming.ProtectedMethodCase
126    value: CamelCase
127  - key: readability-identifier-naming.PublicMemberCase
128    value: camelBack
129  - key: readability-identifier-naming.PublicMemberSuffix
130    value: ""
131  - key: readability-identifier-naming.PublicMethodCase
132    value: CamelCase
133  - key: readability-identifier-naming.StaticConstantCase
134    value: UPPER_CASE
135  - key: readability-identifier-naming.StaticVariableCase
136    value: camelBack
137  - key: readability-identifier-naming.StructCase
138    value: CamelCase
139  - key: readability-identifier-naming.TemplateParameterCase
140    value: CamelCase
141  - key: readability-identifier-naming.TemplateTemplateParameterCase
142    value: CamelCase
143  - key: readability-identifier-naming.TypeAliasCase
144    value: CamelCase
145  - key: readability-identifier-naming.TypedefCase
146    value: CamelCase
147  - key: readability-identifier-naming.TypeTemplateParameterCase
148    value: CamelCase
149  - key: readability-identifier-naming.UnionCase
150    value: CamelCase
151  - key: readability-identifier-naming.ValueTemplateParameterCase
152    value: UPPER_CASE
153  - key: readability-identifier-naming.VariableCase
154    value: camelBack
155  - key: readability-identifier-naming.VirtualMethodCase
156    value: CamelCase
157