Microsoft Open Source | d683ebe | 2023-02-03 11:49:58 +0000 | [diff] [blame] | 1 | Checks: 'clang-diagnostic-*,-clang-diagnostic-error,google-readability-casting,readability-else-after-return,performance-unnecessary-copy-initialization,bugprone-use-after-move,modernize-use-nullptr,modernize-redundant-void-arg,modernize-return-braced-init-list,modernize-use-default-member-init,modernize-use-equals-default,modernize-use-equals-delete,modernize-use-nodiscard,modernize-use-override,cppcoreguidelines-avoid-goto,misc-unconventional-assign-operator,cppcoreguidelines-narrowing-conversions,bugprone-assert-side-effect,bugprone-bool-pointer-implicit-conversion,bugprone-copy-constructor-init,bugprone-forwarding-reference-overload,bugprone-macro-parentheses,bugprone-macro-repeated-side-effects,bugprone-move-forwarding-reference,bugprone-misplaced-widening-cast,bugprone-swapped-arguments,bugprone-undelegated-constructor,bugprone-unused-raii,cert-dcl21-cpp,llvm-namespace-comment,misc-static-assert,misc-redundant-expression,modernize-loop-convert,readability-non-const-parameter,readability-identifier-naming' |
| 2 | FormatStyle: file |
| 3 | UseColor: true |
| 4 | WarningsAsErrors: false |
| 5 | CheckOptions: |
| 6 | - key: readability-identifier-naming.StructCase |
| 7 | value: CamelCase |
| 8 | - key: readability-identifier-naming.ClassCase |
| 9 | value: CamelCase |
| 10 | - key: readability-identifier-naming.TypedefCase |
| 11 | value: CamelCase |
| 12 | - key: readability-identifier-naming.TypeAliasCase |
| 13 | value: CamelCase |
| 14 | - key: readability-identifier-naming.ClassConstantCase |
| 15 | value: CamelCase |
| 16 | - key: readability-identifier-naming.EnumConstantCase |
| 17 | value: CamelCase |
| 18 | - key: readability-identifier-naming.FunctionCase |
| 19 | value: lower_case |
| 20 | - key: readability-identifier-naming.ClassMethodCase |
| 21 | value: lower_case |
| 22 | - key: readability-identifier-naming.MemberCase |
| 23 | value: camelBack |
| 24 | - key: readability-identifier-naming.ClassMemberCase |
| 25 | value: camelBack |
| 26 | - key: readability-identifier-naming.ConstantCase |
| 27 | value: CamelCase |
Nathaniel Filardo | d2d264a | 2023-02-22 11:49:57 +0000 | [diff] [blame] | 28 | - key: readability-identifier-naming.TemplateParameterCase |
| 29 | value: CamelCase |
| 30 | - key: readability-identifier-naming.TemplateTemplateParameterCase |
| 31 | value: CamelCase |
| 32 | - key: readability-identifier-naming.TypeTemplateParameterCase |
| 33 | value: CamelCase |
| 34 | - key: readability-identifier-naming.ValueTemplateParameterCase |
| 35 | value: CamelCase |
Microsoft Open Source | d683ebe | 2023-02-03 11:49:58 +0000 | [diff] [blame] | 36 | - key: readability-identifier-naming.ConstantIgnoredRegexp |
| 37 | value: '__.*' |
| 38 | - key: readability-identifier-naming.ParameterCase |
| 39 | value: camelBack |
| 40 | - key: readability-identifier-naming.VariableCase |
| 41 | value: camelBack |
| 42 | - key: readability-identifier-naming.VariableIgnoredRegexp |
| 43 | value: '__.*' |
| 44 | - key: readability-identifier-naming.MacroDefinitionCase |
| 45 | value: UPPER_CASE |
| 46 | - key: readability-identifier-naming.MacroDefinitionIgnoredRegexp |
| 47 | value: '__.*' |
| 48 | - key: cppcoreguidelines-narrowing-conversions.WarnOnEquivalentBitWidth |
| 49 | value: false |
Nathaniel Filardo | d2d264a | 2023-02-22 11:49:57 +0000 | [diff] [blame] | 50 | |
| 51 | # Suppress bogus "invalid case style for template parameter 'expr-type'" |
| 52 | # See https://github.com/llvm/llvm-project/issues/46097 |
| 53 | - key: readability-identifier-naming.TypeTemplateParameterIgnoredRegexp |
| 54 | value: expr-type |