blob: 221c03054038b32e16fd6cf2b61021a1c8ba759f [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:
Roman Stratiienko5532b922021-03-04 15:22:09 +020021 - key: readability-identifier-naming.ClassCase
22 value: CamelCase
23 - key: readability-identifier-naming.ClassMemberCase
24 value: lower_case
25 - key: readability-identifier-naming.ConstexprVariableCase
26 value: CamelCase
27 - key: readability-identifier-naming.ConstexprVariablePrefix
28 value: k
29 - key: readability-identifier-naming.EnumCase
30 value: CamelCase
31 - key: readability-identifier-naming.EnumConstantCase
32 value: CamelCase
33 - key: readability-identifier-naming.EnumConstantPrefix
34 value: k
35 - key: readability-identifier-naming.FunctionCase
36 value: CamelCase
37 - key: readability-identifier-naming.GlobalConstantCase
38 value: CamelCase
39 - key: readability-identifier-naming.GlobalConstantPrefix
40 value: k
41 - key: readability-identifier-naming.StaticConstantCase
42 value: CamelCase
43 - key: readability-identifier-naming.StaticConstantPrefix
44 value: k
45 - key: readability-identifier-naming.StaticVariableCase
46 value: lower_case
47 - key: readability-identifier-naming.MacroDefinitionCase
48 value: UPPER_CASE
49 - key: readability-identifier-naming.MacroDefinitionIgnoredRegexp
50 value: '^[A-Z]+(_[A-Z]+)*_$'
51 - key: readability-identifier-naming.MemberCase
52 value: lower_case
53 - key: readability-identifier-naming.MemberSuffix
54 value: _
55 - key: readability-identifier-naming.NamespaceCase
56 value: lower_case
57 - key: readability-identifier-naming.ParameterCase
58 value: lower_case
59 - key: readability-identifier-naming.TypeAliasCase
60 value: CamelCase
61 - key: readability-identifier-naming.TypedefCase
62 value: CamelCase
63 - key: readability-identifier-naming.VariableCase
64 value: lower_case
65 - key: readability-identifier-naming.IgnoreMainLikeFunctions
66 value: 1