blob: 43eb5ff7d6e16743f7f77404eca60802176f7fed [file] [log] [blame]
Microsoft Open Sourced683ebe2023-02-03 11:49:58 +00001Checks: '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'
2FormatStyle: file
3UseColor: true
4WarningsAsErrors: false
5CheckOptions:
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 Filardod2d264a2023-02-22 11:49:57 +000028 - 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 Sourced683ebe2023-02-03 11:49:58 +000036 - 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 Filardod2d264a2023-02-22 11:49:57 +000050
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