|
1 | | -Checks: > |
2 | | - -*, |
3 | | - readability-identifier-naming |
4 | 1 |
|
5 | | -WarningsAsErrors: "*" |
| 2 | +Checks: > |
| 3 | + clang-diagnostic-*, |
| 4 | + clang-analyzer-*, |
| 5 | + -clang-analyzer-core.NonNullParamChecker, |
| 6 | + -clang-analyzer-core.CallAndMessage, |
| 7 | + -clang-analyzer-core.uninitialized.UndefReturn, |
| 8 | + -clang-analyzer-cplusplus.NewDeleteLeaks, |
| 9 | + -clang-analyzer-optin.performance.Padding, |
| 10 | + readability-*, |
| 11 | + -readability-identifier-naming, |
| 12 | + -readability-braces-around-statements, |
| 13 | + -readability-convert-member-functions-to-static, |
| 14 | + -readability-function-cognitive-complexity, |
| 15 | + -readability-identifier-length, |
| 16 | + -readability-implicit-bool-conversion, |
| 17 | + -readability-isolate-declaration, |
| 18 | + -readability-magic-numbers, |
| 19 | + -readability-make-member-function-const, |
| 20 | + -readability-named-parameter, |
| 21 | + -readability-qualified-auto, |
| 22 | + -readability-redundant-access-specifiers, |
| 23 | + -readability-simplify-boolean-expr, |
| 24 | + -readability-static-definition-in-anonymous-namespace, |
| 25 | + -readability-uppercase-literal-suffix, |
| 26 | + -readability-use-anyofallof, |
| 27 | + google-*, |
| 28 | + -google-readability-avoid-underscore-in-googletest-name, |
| 29 | + -google-readability-casting, |
| 30 | + -google-readability-todo, |
| 31 | + -google-runtime-references, |
| 32 | + -google-explicit-constructor, |
| 33 | + performance-*, |
| 34 | + -performance-enum-size, |
| 35 | + bugprone-*, |
| 36 | + -bugprone-branch-clone, |
| 37 | + -bugprone-easily-swappable-parameters, |
| 38 | + -bugprone-exception-escape, |
| 39 | + -bugprone-macro-parentheses, |
| 40 | + -bugprone-move-forwarding-reference, |
| 41 | + -bugprone-narrowing-conversions, |
| 42 | + -bugprone-suspicious-missing-comma, |
| 43 | + modernize-*, |
| 44 | + -modernize-avoid-bind, |
| 45 | + -modernize-avoid-c-arrays, |
| 46 | + -modernize-concat-nested-namespaces, |
| 47 | + -modernize-pass-by-value, |
| 48 | + -modernize-raw-string-literal, |
| 49 | + -modernize-return-braced-init-list, |
| 50 | + -modernize-use-auto, |
| 51 | + -modernize-use-nodiscard, |
| 52 | + -modernize-use-trailing-return-type, |
| 53 | + -modernize-use-transparent-functors, |
| 54 | + misc-*, |
| 55 | + -misc-const-correctness, |
| 56 | + -misc-no-recursion, |
| 57 | + -misc-non-private-member-variables-in-classes, |
| 58 | + -misc-redundant-expression, |
| 59 | + -misc-unused-parameters, |
| 60 | + -misc-use-anonymous-namespace, |
6 | 61 |
|
7 | 62 | CheckOptions: |
8 | | - - { key: readability-identifier-naming.ClassCase, value: CamelCase } |
9 | | - - { key: readability-identifier-naming.EnumCase, value: CamelCase } |
10 | | - - { key: readability-identifier-naming.UnionCase, value: CamelCase } |
11 | | - - { key: readability-identifier-naming.TemplateParameterCase, value: CamelCase } |
12 | | - - { key: readability-identifier-naming.TypedefCase, value: CamelCase } |
13 | | - - { key: readability-identifier-naming.TypeAliasCase, value: CamelCase } |
14 | | - - { key: readability-identifier-naming.FunctionCase, value: camelBack } |
15 | | - - { key: readability-identifier-naming.ClassMethodCase, value: camelBack } |
16 | | - - { key: readability-identifier-naming.VariableCase, value: lower_case } |
17 | | - - { key: readability-identifier-naming.ClassMemberCase, value: lower_case } |
18 | | - - { key: readability-identifier-naming.ClassMemberSuffix, value: _ } |
19 | | - - { key: readability-identifier-naming.MemberCase, value: lower_case } |
20 | | - - { key: readability-identifier-naming.PrivateMemberSuffix, value: '_' } |
21 | | - - { key: readability-identifier-naming.ProtectedMemberSuffix, value: '_' } |
22 | | - - { key: readability-identifier-naming.PrivateMemberCase, value: lower_case } |
23 | | - - { key: readability-identifier-naming.ProtectedMemberCase, value: lower_case } |
24 | | - - { key: readability-identifier-naming.NamespaceCase, value: lower_case } |
25 | | - - { key: readability-identifier-naming.ConstantCase, value: lower_case } |
26 | | - - { key: readability-identifier-naming.ParameterCase, value: lower_case } |
27 | | - - { key: readability-identifier-naming.MacroDefinitionCase, value: UPPER_CASE } |
| 63 | + - key: google-runtime-int.TypeSuffix |
| 64 | + value: _t |
| 65 | + |
| 66 | +# All modules but sta |
| 67 | +# Exclude build as there is too much noise from swig generated code |
| 68 | +HeaderFilterRegex: "(?!build/.*)/(ant|cgt|cts|cut|dbSta|dft|dpl|drt|dst|est|exa|fin|gpl|grt|gui|ifp|mpl|odb|ord|pad|par|pdn|ppl|psm|rcx|ram|rmp|rsz|stt|tap|upf|utl)/.*" |
| 69 | + |
| 70 | +# Not currently handling identifier naming |
| 71 | +# WarningsAsErrors: "*" |
| 72 | + |
| 73 | +# Google Style Guide Identifier naming |
| 74 | +# CheckOptions: |
| 75 | +# - key: readability-identifier-naming.ClassCase |
| 76 | +# value: CamelCase |
| 77 | +# - key: readability-identifier-naming.ClassMemberCase |
| 78 | +# value: lower_case |
| 79 | +# - key: readability-identifier-naming.ConstexprVariableCase |
| 80 | +# value: CamelCase |
| 81 | +# - key: readability-identifier-naming.ConstexprVariablePrefix |
| 82 | +# value: k |
| 83 | +# - key: readability-identifier-naming.EnumCase |
| 84 | +# value: CamelCase |
| 85 | +# - key: readability-identifier-naming.EnumConstantCase |
| 86 | +# value: CamelCase |
| 87 | +# - key: readability-identifier-naming.EnumConstantPrefix |
| 88 | +# value: k |
| 89 | +# - key: readability-identifier-naming.FunctionCase |
| 90 | +# value: CamelCase |
| 91 | +# - key: readability-identifier-naming.GlobalConstantCase |
| 92 | +# value: CamelCase |
| 93 | +# - key: readability-identifier-naming.GlobalConstantPrefix |
| 94 | +# value: k |
| 95 | +# - key: readability-identifier-naming.StaticConstantCase |
| 96 | +# value: CamelCase |
| 97 | +# - key: readability-identifier-naming.StaticConstantPrefix |
| 98 | +# value: k |
| 99 | +# - key: readability-identifier-naming.StaticVariableCase |
| 100 | +# value: lower_case |
| 101 | +# - key: readability-identifier-naming.MacroDefinitionCase |
| 102 | +# value: UPPER_CASE |
| 103 | +# - key: readability-identifier-naming.MacroDefinitionIgnoredRegexp |
| 104 | +# value: '^[A-Z]+(_[A-Z]+)*_$' |
| 105 | +# - key: readability-identifier-naming.MemberCase |
| 106 | +# value: lower_case |
| 107 | +# - key: readability-identifier-naming.PrivateMemberSuffix |
| 108 | +# value: _ |
| 109 | +# - key: readability-identifier-naming.PublicMemberSuffix |
| 110 | +# value: '' |
| 111 | +# - key: readability-identifier-naming.NamespaceCase |
| 112 | +# value: lower_case |
| 113 | +# - key: readability-identifier-naming.ParameterCase |
| 114 | +# value: lower_case |
| 115 | +# - key: readability-identifier-naming.TypeAliasCase |
| 116 | +# value: CamelCase |
| 117 | +# - key: readability-identifier-naming.TypedefCase |
| 118 | +# value: CamelCase |
| 119 | +# - key: readability-identifier-naming.VariableCase |
| 120 | +# value: lower_case |
| 121 | +# - key: readability-identifier-naming.IgnoreMainLikeFunctions |
| 122 | +# value: 1 |
0 commit comments