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 | d518a05 | 2021-02-25 19:15:14 +0200 | [diff] [blame] | 9 | -cppcoreguidelines-pro-type-vararg, -hicpp-vararg, |
| 10 | -hicpp-signed-bitwise, |
| 11 | |
| 12 | # Turn all the warnings from the checks above into errors. |
| 13 | WarningsAsErrors: "*" |
| 14 | |
| 15 | #HeaderFilterRegex: "^.*external/drm_hwcomposer/.*.h$" |
| 16 | |
| 17 | FormatStyle: google |
| 18 | |
| 19 | CheckOptions: |
Roman Stratiienko | 5532b92 | 2021-03-04 15:22:09 +0200 | [diff] [blame] | 20 | - key: readability-identifier-naming.ClassCase |
| 21 | value: CamelCase |
| 22 | - key: readability-identifier-naming.ClassMemberCase |
| 23 | value: lower_case |
| 24 | - key: readability-identifier-naming.ConstexprVariableCase |
| 25 | value: CamelCase |
| 26 | - key: readability-identifier-naming.ConstexprVariablePrefix |
| 27 | value: k |
| 28 | - key: readability-identifier-naming.EnumCase |
| 29 | value: CamelCase |
| 30 | - key: readability-identifier-naming.EnumConstantCase |
| 31 | value: CamelCase |
| 32 | - key: readability-identifier-naming.EnumConstantPrefix |
| 33 | value: k |
| 34 | - key: readability-identifier-naming.FunctionCase |
| 35 | value: CamelCase |
| 36 | - key: readability-identifier-naming.GlobalConstantCase |
| 37 | value: CamelCase |
| 38 | - key: readability-identifier-naming.GlobalConstantPrefix |
| 39 | value: k |
| 40 | - key: readability-identifier-naming.StaticConstantCase |
| 41 | value: CamelCase |
| 42 | - key: readability-identifier-naming.StaticConstantPrefix |
| 43 | value: k |
| 44 | - key: readability-identifier-naming.StaticVariableCase |
| 45 | value: lower_case |
| 46 | - key: readability-identifier-naming.MacroDefinitionCase |
| 47 | value: UPPER_CASE |
| 48 | - key: readability-identifier-naming.MacroDefinitionIgnoredRegexp |
| 49 | value: '^[A-Z]+(_[A-Z]+)*_$' |
| 50 | - key: readability-identifier-naming.MemberCase |
| 51 | value: lower_case |
Roman Stratiienko | 8beef3b | 2021-12-24 18:56:17 +0200 | [diff] [blame] | 52 | - key: readability-identifier-naming.PrivateMemberSuffix |
Roman Stratiienko | 5532b92 | 2021-03-04 15:22:09 +0200 | [diff] [blame] | 53 | value: _ |
Roman Stratiienko | 8beef3b | 2021-12-24 18:56:17 +0200 | [diff] [blame] | 54 | - key: readability-identifier-naming.PublicMemberSuffix |
| 55 | value: '' |
Roman Stratiienko | 5532b92 | 2021-03-04 15:22:09 +0200 | [diff] [blame] | 56 | - key: readability-identifier-naming.NamespaceCase |
| 57 | value: lower_case |
| 58 | - key: readability-identifier-naming.ParameterCase |
| 59 | value: lower_case |
| 60 | - key: readability-identifier-naming.TypeAliasCase |
| 61 | value: CamelCase |
| 62 | - key: readability-identifier-naming.TypedefCase |
| 63 | value: CamelCase |
| 64 | - key: readability-identifier-naming.VariableCase |
| 65 | value: lower_case |
| 66 | - key: readability-identifier-naming.IgnoreMainLikeFunctions |
| 67 | value: 1 |
Roman Stratiienko | fc014f5 | 2021-12-23 19:04:29 +0200 | [diff] [blame^] | 68 | - key: cppcoreguidelines-macro-usage.AllowedRegexp |
| 69 | value: "LOG_TAG|ATRACE_TAG" |
| 70 | - key: readability-magic-numbers.IgnoredFloatingPointValues |
| 71 | value: '1000.0' |