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