|
| 1 | +--- |
| 2 | +# Enable ALL the things! Except not really |
| 3 | +# misc-non-private-member-variables-in-classes: the options don't do anything |
| 4 | +Checks: "*,\ |
| 5 | + -google-readability-todo,\ |
| 6 | + -altera-unroll-loops,\ |
| 7 | + -fuchsia-*,\ |
| 8 | + fuchsia-multiple-inheritance,\ |
| 9 | + -llvm-header-guard,\ |
| 10 | + -llvm-include-order,\ |
| 11 | + -llvmlibc-*,\ |
| 12 | + -misc-non-private-member-variables-in-classes" |
| 13 | +WarningsAsErrors: '' |
| 14 | +CheckOptions: |
| 15 | + - key: 'bugprone-argument-comment.StrictMode' |
| 16 | + value: 'true' |
| 17 | +# Prefer using enum classes with 2 values for parameters instead of bools |
| 18 | + - key: 'bugprone-argument-comment.CommentBoolLiterals' |
| 19 | + value: 'true' |
| 20 | + - key: 'bugprone-misplaced-widening-cast.CheckImplicitCasts' |
| 21 | + value: 'true' |
| 22 | + - key: 'bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression' |
| 23 | + value: 'true' |
| 24 | + - key: 'bugprone-suspicious-string-compare.WarnOnLogicalNotComparison' |
| 25 | + value: 'true' |
| 26 | + - key: 'readability-simplify-boolean-expr.ChainedConditionalReturn' |
| 27 | + value: 'true' |
| 28 | + - key: 'readability-simplify-boolean-expr.ChainedConditionalAssignment' |
| 29 | + value: 'true' |
| 30 | + - key: 'readability-uniqueptr-delete-release.PreferResetCall' |
| 31 | + value: 'true' |
| 32 | + - key: 'cppcoreguidelines-init-variables.MathHeader' |
| 33 | + value: '<cmath>' |
| 34 | + - key: 'cppcoreguidelines-narrowing-conversions.PedanticMode' |
| 35 | + value: 'true' |
| 36 | + - key: 'readability-else-after-return.WarnOnUnfixable' |
| 37 | + value: 'true' |
| 38 | + - key: 'readability-else-after-return.WarnOnConditionVariables' |
| 39 | + value: 'true' |
| 40 | + - key: 'readability-inconsistent-declaration-parameter-name.Strict' |
| 41 | + value: 'true' |
| 42 | + - key: 'readability-qualified-auto.AddConstToQualified' |
| 43 | + value: 'true' |
| 44 | + - key: 'readability-redundant-access-specifiers.CheckFirstDeclaration' |
| 45 | + value: 'true' |
| 46 | +# Identifier styles |
| 47 | + - key: 'readability-identifier-naming.AbstractClassCase' |
| 48 | + value: 'CamelCase' |
| 49 | + - key: 'readability-identifier-naming.ClassCase' |
| 50 | + value: 'CamelCase' |
| 51 | + - key: 'readability-identifier-naming.ClassConstantCase' |
| 52 | + value: 'lower_case' |
| 53 | + - key: 'readability-identifier-naming.ClassMemberCase' |
| 54 | + value: 'lower_case' |
| 55 | + - key: 'readability-identifier-naming.ClassMethodCase' |
| 56 | + value: 'lower_case' |
| 57 | + - key: 'readability-identifier-naming.ConstantCase' |
| 58 | + value: 'lower_case' |
| 59 | + - key: 'readability-identifier-naming.ConstantPrefix' |
| 60 | + value: 'k' |
| 61 | + - key: 'readability-identifier-naming.ConstantMemberCase' |
| 62 | + value: 'lower_case' |
| 63 | + - key: 'readability-identifier-naming.ConstantParameterCase' |
| 64 | + value: 'lower_case' |
| 65 | + - key: 'readability-identifier-naming.ConstantPointerParameterCase' |
| 66 | + value: 'lower_case' |
| 67 | + - key: 'readability-identifier-naming.ConstexprFunctionCase' |
| 68 | + value: 'lower_case' |
| 69 | + - key: 'readability-identifier-naming.ConstexprMethodCase' |
| 70 | + value: 'lower_case' |
| 71 | + - key: 'readability-identifier-naming.ConstexprVariableCase' |
| 72 | + value: 'lower_case' |
| 73 | + - key: 'readability-identifier-naming.EnumCase' |
| 74 | + value: 'lower_case' |
| 75 | + - key: 'readability-identifier-naming.EnumConstantCase' |
| 76 | + value: 'lower_case' |
| 77 | + - key: 'readability-identifier-naming.FunctionCase' |
| 78 | + value: 'lower_case' |
| 79 | + - key: 'readability-identifier-naming.GlobalConstantCase' |
| 80 | + value: 'lower_case' |
| 81 | + - key: 'readability-identifier-naming.GlobalConstantPrefix' |
| 82 | + value: 'k' |
| 83 | + - key: 'readability-identifier-naming.GlobalConstantPointerCase' |
| 84 | + value: 'lower_case' |
| 85 | + - key: 'readability-identifier-naming.GlobalFunctionCase' |
| 86 | + value: 'lower_case' |
| 87 | + - key: 'readability-identifier-naming.GlobalPointerCase' |
| 88 | + value: 'lower_case' |
| 89 | + - key: 'readability-identifier-naming.GlobalVariableCase' |
| 90 | + value: 'lower_case' |
| 91 | + - key: 'readability-identifier-naming.InlineNamespaceCase' |
| 92 | + value: 'lower_case' |
| 93 | + - key: 'readability-identifier-naming.LocalConstantCase' |
| 94 | + value: 'lower_case' |
| 95 | + - key: 'readability-identifier-naming.LocalConstantPointerCase' |
| 96 | + value: 'lower_case' |
| 97 | + - key: 'readability-identifier-naming.LocalPointerCase' |
| 98 | + value: 'lower_case' |
| 99 | + - key: 'readability-identifier-naming.LocalVariableCase' |
| 100 | + value: 'lower_case' |
| 101 | + - key: 'readability-identifier-naming.MacroDefinitionCase' |
| 102 | + value: 'UPPER_CASE' |
| 103 | + - key: 'readability-identifier-naming.MemberCase' |
| 104 | + value: 'lower_case' |
| 105 | + - key: 'readability-identifier-naming.MethodCase' |
| 106 | + value: 'lower_case' |
| 107 | + - key: 'readability-identifier-naming.NamespaceCase' |
| 108 | + value: 'lower_case' |
| 109 | + - key: 'readability-identifier-naming.ParameterCase' |
| 110 | + value: 'lower_case' |
| 111 | + - key: 'readability-identifier-naming.ParameterPackCase' |
| 112 | + value: 'lower_case' |
| 113 | + - key: 'readability-identifier-naming.PointerParameterCase' |
| 114 | + value: 'lower_case' |
| 115 | + - key: 'readability-identifier-naming.PrivateMemberCase' |
| 116 | + value: 'lower_case' |
| 117 | + - key: 'readability-identifier-naming.PrivateMemberSuffix' |
| 118 | + value: '_' |
| 119 | + - key: 'readability-identifier-naming.PrivateMethodCase' |
| 120 | + value: 'lower_case' |
| 121 | + - key: 'readability-identifier-naming.ProtectedMemberCase' |
| 122 | + value: 'lower_case' |
| 123 | + - key: 'readability-identifier-naming.ProtectedMemberSuffix' |
| 124 | + value: '_' |
| 125 | + - key: 'readability-identifier-naming.ProtectedMethodCase' |
| 126 | + value: 'lower_case' |
| 127 | + - key: 'readability-identifier-naming.PublicMemberCase' |
| 128 | + value: 'lower_case' |
| 129 | + - key: 'readability-identifier-naming.PublicMethodCase' |
| 130 | + value: 'lower_case' |
| 131 | + - key: 'readability-identifier-naming.ScopedEnumConstantCase' |
| 132 | + value: 'lower_case' |
| 133 | + - key: 'readability-identifier-naming.StaticConstantCase' |
| 134 | + value: 'lower_case' |
| 135 | + - key: 'readability-identifier-naming.StaticVariableCase' |
| 136 | + value: 'lower_case' |
| 137 | + - key: 'readability-identifier-naming.StructCase' |
| 138 | + value: 'lower_case' |
| 139 | + - key: 'readability-identifier-naming.TemplateParameterCase' |
| 140 | + value: 'CamelCase' |
| 141 | + - key: 'readability-identifier-naming.TemplateTemplateParameterCase' |
| 142 | + value: 'CamelCase' |
| 143 | + - key: 'readability-identifier-naming.TypeAliasCase' |
| 144 | + value: 'lower_case' |
| 145 | + - key: 'readability-identifier-naming.TypedefCase' |
| 146 | + value: 'lower_case' |
| 147 | + - key: 'readability-identifier-naming.TypeTemplateParameterCase' |
| 148 | + value: 'CamelCase' |
| 149 | + - key: 'readability-identifier-naming.UnionCase' |
| 150 | + value: 'lower_case' |
| 151 | + - key: 'readability-identifier-naming.ValueTemplateParameterCase' |
| 152 | + value: 'CamelCase' |
| 153 | + - key: 'readability-identifier-naming.VariableCase' |
| 154 | + value: 'lower_case' |
| 155 | + - key: 'readability-identifier-naming.VirtualMethodCase' |
| 156 | + value: 'lower_case' |
| 157 | +... |
0 commit comments