Roman Stratiienko | d518a05 | 2021-02-25 19:15:14 +0200 | [diff] [blame] | 1 | # fuchsia: Conflicts with other checks |
| 2 | # llvm-header-guard: Does not match drm_hwc header gusrd style |
| 3 | # Allow using ALOGE |
| 4 | |
| 5 | Checks: > |
| 6 | *, |
| 7 | -fuchsia*, |
| 8 | -llvm*, |
Roman Stratiienko | d26619b | 2021-08-04 19:55:37 +0300 | [diff] [blame] | 9 | -concurrency-mt-unsafe, |
Roman Stratiienko | d518a05 | 2021-02-25 19:15:14 +0200 | [diff] [blame] | 10 | -cppcoreguidelines-pro-type-vararg, -hicpp-vararg, |
| 11 | -hicpp-signed-bitwise, |
| 12 | |
| 13 | # Turn all the warnings from the checks above into errors. |
| 14 | WarningsAsErrors: "*" |
| 15 | |
| 16 | #HeaderFilterRegex: "^.*external/drm_hwcomposer/.*.h$" |
| 17 | |
| 18 | FormatStyle: google |
| 19 | |
| 20 | CheckOptions: |
Roman Stratiienko | 5532b92 | 2021-03-04 15:22:09 +0200 | [diff] [blame] | 21 | - 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 |
Roman Stratiienko | 8beef3b | 2021-12-24 18:56:17 +0200 | [diff] [blame^] | 53 | - key: readability-identifier-naming.PrivateMemberSuffix |
Roman Stratiienko | 5532b92 | 2021-03-04 15:22:09 +0200 | [diff] [blame] | 54 | value: _ |
Roman Stratiienko | 8beef3b | 2021-12-24 18:56:17 +0200 | [diff] [blame^] | 55 | - key: readability-identifier-naming.PublicMemberSuffix |
| 56 | value: '' |
Roman Stratiienko | 5532b92 | 2021-03-04 15:22:09 +0200 | [diff] [blame] | 57 | - key: readability-identifier-naming.NamespaceCase |
| 58 | value: lower_case |
| 59 | - key: readability-identifier-naming.ParameterCase |
| 60 | value: lower_case |
| 61 | - key: readability-identifier-naming.TypeAliasCase |
| 62 | value: CamelCase |
| 63 | - key: readability-identifier-naming.TypedefCase |
| 64 | value: CamelCase |
| 65 | - key: readability-identifier-naming.VariableCase |
| 66 | value: lower_case |
| 67 | - key: readability-identifier-naming.IgnoreMainLikeFunctions |
| 68 | value: 1 |