blob: 6cdbdc089b11cfe1c2b15e959ddd57127e3e0e2d [file] [log] [blame]
Roman Stratiienkod518a052021-02-25 19:15:14 +02001# fuchsia: Conflicts with other checks
2# llvm-header-guard: Does not match drm_hwc header gusrd style
3# Allow using ALOGE
4
5Checks: >
6 *,
7 -fuchsia*,
8 -llvm*,
Roman Stratiienkod26619b2021-08-04 19:55:37 +03009 -concurrency-mt-unsafe,
Roman Stratiienkod518a052021-02-25 19:15:14 +020010 -cppcoreguidelines-pro-type-vararg, -hicpp-vararg,
11 -hicpp-signed-bitwise,
12
13# Turn all the warnings from the checks above into errors.
14WarningsAsErrors: "*"
15
16#HeaderFilterRegex: "^.*external/drm_hwcomposer/.*.h$"
17
18FormatStyle: google
19
20CheckOptions:
21 - { key: readability-identifier-naming.NamespaceCase, value: lower_case }
22 - { key: readability-identifier-naming.ClassCase, value: CamelCase }
23 - { key: readability-identifier-naming.StructCase, value: CamelCase }
24 - { key: readability-identifier-naming.TemplateParameterCase, value: CamelCase }
25 - { key: readability-identifier-naming.FunctionCase, value: aNy_CasE }
26 - { key: readability-identifier-naming.VariableCase, value: lower_case }
27 - { key: readability-identifier-naming.ClassMemberCase, value: lower_case }
28 - { key: readability-identifier-naming.ClassMemberSuffix, value: _ }
29 - { key: readability-identifier-naming.PrivateMemberSuffix, value: _ }
30 - { key: readability-identifier-naming.ProtectedMemberSuffix, value: _ }
31 - { key: readability-identifier-naming.EnumConstantCase, value: CamelCase }
32 - { key: readability-identifier-naming.EnumConstantPrefix, value: k }
33 - { key: readability-identifier-naming.ConstexprVariableCase, value: CamelCase }
34 - { key: readability-identifier-naming.ConstexprVariablePrefix, value: k }
35 - { key: readability-identifier-naming.GlobalConstantCase, value: CamelCase }
36 - { key: readability-identifier-naming.GlobalConstantPrefix, value: k }
37 - { key: readability-identifier-naming.MemberConstantCase, value: CamelCase }
38 - { key: readability-identifier-naming.MemberConstantPrefix, value: k }
39 - { key: readability-identifier-naming.StaticConstantCase, value: CamelCase }
40 - { key: readability-identifier-naming.StaticConstantPrefix, value: k }
41 - { key: readability-implicit-bool-conversion.AllowIntegerConditions, value: 1 }
42 - { key: readability-implicit-bool-conversion.AllowPointerConditions, value: 1 }
43 - { key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic, value: 1 }