# Copyright (c) 2021-2022 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. --- WarningsAsErrors: "*" AnalyzeTemporaryDtors: false User: user CheckOptions: - key: google-readability-braces-around-statements.ShortStatementLines value: "1" - key: google-readability-function-size.StatementThreshold value: "800" - key: google-readability-namespace-comments.ShortNamespaceLines value: "10" - key: google-readability-namespace-comments.SpacesBeforeComments value: "2" - key: modernize-loop-convert.MaxCopySize value: "16" - key: modernize-loop-convert.MinConfidence value: reasonable - key: modernize-loop-convert.NamingStyle value: CamelCase - key: modernize-pass-by-value.IncludeStyle value: llvm - key: modernize-replace-auto-ptr.IncludeStyle value: llvm - key: modernize-use-nullptr.NullMacros value: "NULL" - key: readability-function-size.LineThreshold value: 200 - key: readability-magic-numbers.IgnoredIntegerValues value: "1;2;3;4;5;6;7;8" - key: readability-identifier-naming.AbstractClassCase value: CamelCase - key: readability-identifier-naming.ClassCase value: CamelCase - key: readability-identifier-naming.ClassConstantCase value: UPPER_CASE - key: readability-identifier-naming.ClassMemberCase value: camelBack - key: readability-identifier-naming.ClassMemberSuffix value: _ - key: readability-identifier-naming.ClassMethodCase value: CamelCase - key: readability-identifier-naming.ConstantCase value: UPPER_CASE - key: readability-identifier-naming.ConstantMemberCase value: camelBack - key: readability-identifier-naming.ConstantMemberSuffix value: _ - key: readability-identifier-naming.ConstantParameterCase value: camelBack - key: readability-identifier-naming.ConstantPointerParameterCase value: camelBack - key: readability-identifier-naming.ConstexprFunctionCase value: CamelCase - key: readability-identifier-naming.ConstexprMethodCase value: CamelCase - key: readability-identifier-naming.ConstexprVariableCase value: UPPER_CASE - key: readability-identifier-naming.EnumCase value: CamelCase - key: readability-identifier-naming.EnumConstantCase value: UPPER_CASE - key: readability-identifier-naming.FunctionCase value: CamelCase - key: readability-identifier-naming.GlobalConstantCase value: UPPER_CASE - key: readability-identifier-naming.GlobalConstantPointerCase value: UPPER_CASE - key: readability-identifier-naming.GlobalFunctionCase value: CamelCase - key: readability-identifier-naming.GlobalPointerCase value: camelBack - key: readability-identifier-naming.GlobalPointerPrefix value: g_ - key: readability-identifier-naming.GlobalVariableCase value: camelBack - key: readability-identifier-naming.GlobalVariablePrefix value: g_ - key: readability-identifier-naming.InlineNamespaceCase value: lower_case - key: readability-identifier-naming.LocalConstantCase value: camelBack - key: readability-identifier-naming.LocalConstantPointerCase value: camelBack - key: readability-identifier-naming.LocalPointerCase value: camelBack - key: readability-identifier-naming.LocalVariableCase value: camelBack - key: readability-identifier-naming.MemberCase value: camelBack - key: readability-identifier-naming.MemberSuffix value: _ - key: readability-identifier-naming.MethodCase value: CamelCase - key: readability-identifier-naming.NamespaceCase value: lower_case - key: readability-identifier-naming.ParameterCase value: camelBack - key: readability-identifier-naming.ParameterPackCase value: camelBack - key: readability-identifier-naming.PointerParameterCase value: camelBack - key: readability-identifier-naming.PrivateMemberCase value: camelBack - key: readability-identifier-naming.PrivateMemberSuffix value: _ - key: readability-identifier-naming.PrivateMethodCase value: CamelCase - key: readability-identifier-naming.ProtectedMemberCase value: camelBack - key: readability-identifier-naming.ProtectedMemberSuffix value: _ - key: readability-identifier-naming.ProtectedMethodCase value: CamelCase - key: readability-identifier-naming.PublicMemberCase value: camelBack - key: readability-identifier-naming.PublicMemberSuffix value: "" - key: readability-identifier-naming.PublicMethodCase value: CamelCase - key: readability-identifier-naming.StaticConstantCase value: UPPER_CASE - key: readability-identifier-naming.StaticVariableCase value: camelBack - key: readability-identifier-naming.StructCase value: CamelCase - key: readability-identifier-naming.TemplateParameterCase value: CamelCase - key: readability-identifier-naming.TemplateTemplateParameterCase value: CamelCase - key: readability-identifier-naming.TypeAliasCase value: CamelCase - key: readability-identifier-naming.TypedefCase value: CamelCase - key: readability-identifier-naming.TypeTemplateParameterCase value: CamelCase - key: readability-identifier-naming.UnionCase value: CamelCase - key: readability-identifier-naming.ValueTemplateParameterCase value: UPPER_CASE - key: readability-identifier-naming.VariableCase value: camelBack - key: readability-identifier-naming.VirtualMethodCase value: CamelCase