|
| 1 | +Checks: > |
| 2 | + *, |
| 3 | + -altera-id-dependent-backward-branch, |
| 4 | + -altera-struct-pack-align, |
| 5 | + -altera-unroll-loops, |
| 6 | + -fuchsia-*, |
| 7 | + -llvmlibc-*, |
| 8 | + -llvm-header-guard, |
| 9 | + -llvm-include-order, |
| 10 | + -cppcoreguidelines-owning-memory, |
| 11 | + -cppcoreguidelines-non-private-member-variables-in-classes, |
| 12 | + -cppcoreguidelines-avoid-non-const-global-variables, |
| 13 | + -cppcoreguidelines-avoid-magic-numbers, |
| 14 | + -google-readability-todo, |
| 15 | + -modernize-use-trailing-return-type, |
| 16 | + -modernize-pass-by-value, |
| 17 | + -misc-non-private-member-variables-in-classes, |
| 18 | + -performance-avoid-endl, |
| 19 | + -readability-magic-numbers |
| 20 | +
|
| 21 | +# Checks: > |
| 22 | +# *, |
| 23 | +# -cppcoreguidelines-owning-memory |
| 24 | +# -google-readability-todo, |
| 25 | +# -altera-unroll-loops, |
| 26 | +# -altera-id-dependent-backward-branch, |
| 27 | +# -altera-struct-pack-align, |
| 28 | +# -fuchsia-*, |
| 29 | +# fuchsia-multiple-inheritance, |
| 30 | +# -llvm-header-guard, |
| 31 | +# -llvm-include-order, |
| 32 | +# -llvmlibc-*, |
| 33 | +# -modernize-use-trailing-return-type, |
| 34 | +# -misc-non-private-member-variables-in-classes, |
| 35 | +# -cppcoreguidelines-pro-type-vararg, |
| 36 | +# -cppcoreguidelines-avoid-c-arrays, |
| 37 | +# -hicpp-vararg, |
| 38 | +# -hicpp-avoid-c-arrays, |
| 39 | +# -modernize-avoid-c-arrays |
| 40 | + |
| 41 | +WarningsAsErrors: "" |
| 42 | +# WarningsAsErrors: "*,-readability-convert-member-functions-to-static" |
| 43 | + |
| 44 | +CheckOptions: |
| 45 | + - key: "readability-identifier-length.MinimumVariableNameLength" |
| 46 | + value: "2" |
| 47 | + - key: "readability-identifier-length.MinimumParameterNameLength" |
| 48 | + value: "2" |
| 49 | + - key: "readability-identifier-length.MinimumLoopCounterNameLength" |
| 50 | + value: "2" |
| 51 | + - { key: readability-identifier-naming.NamespaceCase, value: lower_case } |
| 52 | + - { |
| 53 | + key: readability-identifier-naming.MacroDefinitionCase, |
| 54 | + value: UPPER_CASE, |
| 55 | + } |
| 56 | + - { key: readability-identifier-naming.ClassCase, value: CamelCase } |
| 57 | + - { key: readability-identifier-naming.StructCase, value: CamelCase } |
| 58 | + - { key: readability-identifier-naming.EnumCase, value: CamelCase } |
| 59 | + - { key: readability-identifier-naming.EnumConstantCase, value: CamelCase } |
| 60 | + - { key: readability-identifier-naming.TypedefCase, value: CamelCase } |
| 61 | + - { key: readability-identifier-naming.TypeAliasCase, value: CamelCase } |
| 62 | + - { key: readability-identifier-naming.UnionCase, value: CamelCase } |
| 63 | + |
| 64 | + - { key: readability-identifier-naming.FunctionCase, value: lower_case } |
| 65 | + - { key: readability-identifier-naming.GlobalFunctionCase, value: lower_case } |
| 66 | + |
| 67 | + - { key: readability-identifier-naming.GlobalVariableCase, value: CamelCase } |
| 68 | + |
| 69 | + - { key: readability-identifier-naming.LocalVariableCase, value: aNy_CasE } |
| 70 | + - { key: readability-identifier-naming.ParameterCase, value: aNy_CasE } |
| 71 | + #static |
| 72 | + - { key: readability-identifier-naming.ClassMemberCase, value: lower_case } |
| 73 | + - { key: readability-identifier-naming.ClassMethodCase, value: lower_case } |
| 74 | + |
| 75 | + - { key: readability-identifier-naming.MethodCase, value: lower_case } |
| 76 | + - { key: readability-identifier-naming.PrivateMethodCase, value: lower_case } |
| 77 | + |
| 78 | + - { key: readability-identifier-naming.MemberCase, value: lower_case } |
| 79 | + - { key: readability-identifier-naming.PrivateMemberCase, value: lower_case } |
| 80 | + - { key: readability-identifier-naming.PrivateMemberSuffix, value: "_" } |
| 81 | + |
| 82 | + - { key: readability-identifier-naming.VariableCase, value: lower_case } |
| 83 | + |
| 84 | + - { key: readability-identifier-naming.StaticVariableCase, value: lower_case } |
| 85 | + - { |
| 86 | + key: readability-identifier-naming.ConstexprVariableCase, |
| 87 | + value: UPPER_CASE, |
| 88 | + } |
| 89 | + #constant |
| 90 | + - { key: readability-identifier-naming.GlobalConstantCase, value: lower_case } |
| 91 | + |
| 92 | + - { key: readability-identifier-naming.MemberConstantCase, value: lower_case } |
| 93 | + |
| 94 | + - { key: readability-identifier-naming.StaticConstantCase, value: lower_case } |
| 95 | + |
| 96 | + - { |
| 97 | + key: readability-identifier-naming.TemplateParameterCase, |
| 98 | + value: CamelCase, |
| 99 | + } |
| 100 | + # some magic number |
| 101 | + - { |
| 102 | + key: readability-magic-numbers.IgnoredIntegerValues, |
| 103 | + value: "-1; 0; 1; 2; 3; 4; 5;10;100", |
| 104 | + } |
0 commit comments