|
1 |
| -Checks: modernize-use-override,bugprone-infinite-loop,google-readability-casting,cppcoreguidelines-narrowing-conversions,readability-implicit-bool-conversion,bugprone-macro-parentheses,readability-misleading-indentation,misc-redundant-expression,readability-redundant-declaration,readability-make-member-function-const,readability-non-const-parameter,readability-qualified-auto,misc-misplaced-const,misc-unused-parameters,readability-simplify-boolean-expr,clang-analyzer-core.NullDereference,bugprone-bool-pointer-implicit-conversion,bugprone-copy-constructor-init,bugprone-exception-escape,bugprone-fold-init-type,bugprone-forwarding-reference-overload,bugprone-inaccurate-erase,bugprone-incorrect-roundings,bugprone-misplaced-operator-in-strlen-in-alloc,bugprone-misplaced-pointer-arithmetic-in-alloc,bugprone-misplaced-widening-cast,bugprone-move-forwarding-reference,bugprone-multiple-statement-macro,bugprone-not-null-terminated-result,bugprone-parent-virtual-call,bugprone-reserved-identifier,bugprone-signed-char-misuse,bugprone-sizeof-container,bugprone-sizeof-expression,bugprone-string-constructor,bugprone-string-integer-assignment,bugprone-string-literal-with-embedded-nul,bugprone-suspicious-enum-usage,bugprone-suspicious-memset-usage,bugprone-suspicious-missing-comma,bugprone-suspicious-semicolon,bugprone-suspicious-string-compare,bugprone-terminating-continue,bugprone-throw-keyword-missing,bugprone-too-small-loop-variable,bugprone-undefined-memory-manipulation,bugprone-undelegated-constructor,bugprone-unhandled-self-assignment,bugprone-unused-raii,bugprone-unused-return-value,bugprone-use-after-move,cert-dcl21-cpp,cert-dcl50-cpp,cert-dcl58-cpp,cert-env33-c,cert-err52-cpp,cert-err58-cpp,cert-err60-cpp,cert-flp30-c,cert-mem57-cpp,cppcoreguidelines-avoid-goto,cppcoreguidelines-interfaces-global-init,cppcoreguidelines-no-malloc,cppcoreguidelines-pro-type-const-cast,cppcoreguidelines-pro-type-member-init,cppcoreguidelines-slicing,google-runtime-operator,google-upgrade-googletest-case,hicpp-exception-baseclass,misc-definitions-in-headers,misc-misplaced-const,misc-throw-by-value-catch-by-reference,misc-unconventional-assign-operator,misc-uniqueptr-reset-release,misc-unused-parameters,performance-for-range-copy,performance-implicit-conversion-in-loop,performance-move-const-arg,performance-no-automatic-move,performance-noexcept-move-constructor,performance-trivially-destructible,performance-type-promotion-in-math-fn,performance-unnecessary-copy-initialization,performance-unnecessary-value-param,readability-const-return-type,readability-container-size-empty,readability-delete-null-pointer,readability-implicit-bool-conversion,readability-redundant-control-flow,clang-analyzer-core.StackAddressEscape,clang-analyzer-core.uninitialized.ArraySubscript,clang-analyzer-core.UndefinedBinaryOperatorResult,clang-analyzer-core.uninitialized.Assign,clang-analyzer-core.uninitialized.Branch,clang-analyzer-core.uninitialized.UndefReturn,clang-analyzer-cplusplus.Move,clang-analyzer-cplusplus.NewDeleteLeaks,clang-analyzer-optin.cplusplus.UninitializedObject,clang-analyzer-optin.cplusplus.VirtualCall,cppcoreguidelines-avoid-non-const-global-variables,readability-function-size,-clang-analyzer-osx*,-clang-analyzer-optin.mpi*,-clang-analyzer-optin.osx*,-clang-analyzer-apiModeling*,-clang-analyzer-unix*,-clang-analyzer-valist*,-clang-analyzer-security.insecureAPI*,-clang-analyzer-optin.performance.GCDAntipattern,-clang-analyzer-optin.performance.Padding,-clang-analyzer-optin.portability.UnixAPI,-clang-analyzer-nullability*,-clang-analyzer-deadcode.DeadStores*,-clang-analyzer-core.uninitialized.CapturedBlockVariable,-clang-analyzer-core.CallAndMessage,-clang-analyzer-core.DynamicTypePropagation,-clang-diagnostic-microsoft-template,-readability-identifier-naming,-readability-braces-around-statements,-readability-inconsistent-declaration-parameter-name,-clang-analyzer-cplusplus.NewDelete |
| 1 | +Checks: > |
| 2 | + modernize-use-override, |
| 3 | + bugprone-infinite-loop, |
| 4 | + google-readability-casting, |
| 5 | + cppcoreguidelines-narrowing-conversions, |
| 6 | + readability-implicit-bool-conversion, |
| 7 | + bugprone-macro-parentheses, |
| 8 | + readability-misleading-indentation, |
| 9 | + misc-redundant-expression, |
| 10 | + readability-redundant-declaration, |
| 11 | + readability-make-member-function-const, |
| 12 | + readability-non-const-parameter, |
| 13 | + readability-qualified-auto, |
| 14 | + misc-misplaced-const, |
| 15 | + misc-unused-parameters, |
| 16 | + readability-simplify-boolean-expr, |
| 17 | + clang-analyzer-core.NullDereference, |
| 18 | + bugprone-bool-pointer-implicit-conversion, |
| 19 | + bugprone-copy-constructor-init, |
| 20 | + bugprone-exception-escape, |
| 21 | + bugprone-fold-init-type, |
| 22 | + bugprone-forwarding-reference-overload, |
| 23 | + bugprone-inaccurate-erase, |
| 24 | + bugprone-incorrect-roundings, |
| 25 | + bugprone-misplaced-operator-in-strlen-in-alloc, |
| 26 | + bugprone-misplaced-pointer-arithmetic-in-alloc, |
| 27 | + bugprone-misplaced-widening-cast, |
| 28 | + bugprone-move-forwarding-reference, |
| 29 | + bugprone-multiple-statement-macro, |
| 30 | + bugprone-not-null-terminated-result, |
| 31 | + bugprone-parent-virtual-call, |
| 32 | + bugprone-reserved-identifier, |
| 33 | + bugprone-signed-char-misuse, |
| 34 | + bugprone-sizeof-container, |
| 35 | + bugprone-sizeof-expression, |
| 36 | + bugprone-string-constructor, |
| 37 | + bugprone-string-integer-assignment, |
| 38 | + bugprone-string-literal-with-embedded-nul, |
| 39 | + bugprone-suspicious-enum-usage, |
| 40 | + bugprone-suspicious-memset-usage, |
| 41 | + bugprone-suspicious-missing-comma, |
| 42 | + bugprone-suspicious-semicolon, |
| 43 | + bugprone-suspicious-string-compare, |
| 44 | + bugprone-terminating-continue, |
| 45 | + bugprone-throw-keyword-missing, |
| 46 | + bugprone-too-small-loop-variable, |
| 47 | + bugprone-undefined-memory-manipulation, |
| 48 | + bugprone-undelegated-constructor, |
| 49 | + bugprone-unhandled-self-assignment, |
| 50 | + bugprone-unused-raii, |
| 51 | + bugprone-unused-return-value, |
| 52 | + bugprone-use-after-move, |
| 53 | + cert-dcl21-cpp, |
| 54 | + cert-dcl50-cpp, |
| 55 | + cert-dcl58-cpp, |
| 56 | + cert-env33-c, |
| 57 | + cert-err52-cpp, |
| 58 | + cert-err58-cpp, |
| 59 | + cert-err60-cpp, |
| 60 | + cert-flp30-c, |
| 61 | + cert-mem57-cpp, |
| 62 | + cppcoreguidelines-avoid-goto, |
| 63 | + cppcoreguidelines-interfaces-global-init, |
| 64 | + cppcoreguidelines-no-malloc, |
| 65 | + cppcoreguidelines-pro-type-const-cast, |
| 66 | + cppcoreguidelines-pro-type-member-init, |
| 67 | + cppcoreguidelines-slicing, |
| 68 | + google-runtime-operator, |
| 69 | + google-upgrade-googletest-case, |
| 70 | + hicpp-exception-baseclass, |
| 71 | + misc-definitions-in-headers, |
| 72 | + misc-misplaced-const, |
| 73 | + misc-throw-by-value-catch-by-reference, |
| 74 | + misc-unconventional-assign-operator, |
| 75 | + misc-uniqueptr-reset-release, |
| 76 | + misc-unused-parameters, |
| 77 | + performance-for-range-copy, |
| 78 | + performance-implicit-conversion-in-loop, |
| 79 | + performance-move-const-arg, |
| 80 | + performance-no-automatic-move, |
| 81 | + performance-noexcept-move-constructor, |
| 82 | + performance-trivially-destructible, |
| 83 | + performance-type-promotion-in-math-fn, |
| 84 | + performance-unnecessary-copy-initialization, |
| 85 | + performance-unnecessary-value-param, |
| 86 | + readability-const-return-type, |
| 87 | + readability-container-size-empty, |
| 88 | + readability-delete-null-pointer, |
| 89 | + readability-implicit-bool-conversion, |
| 90 | + readability-redundant-control-flow, |
| 91 | + clang-analyzer-core.StackAddressEscape, |
| 92 | + clang-analyzer-core.uninitialized.ArraySubscript, |
| 93 | + clang-analyzer-core.UndefinedBinaryOperatorResult, |
| 94 | + clang-analyzer-core.uninitialized.Assign, |
| 95 | + clang-analyzer-core.uninitialized.Branch, |
| 96 | + clang-analyzer-core.uninitialized.UndefReturn, |
| 97 | + clang-analyzer-cplusplus.Move, |
| 98 | + clang-analyzer-cplusplus.NewDeleteLeaks, |
| 99 | + clang-analyzer-optin.cplusplus.UninitializedObject, |
| 100 | + clang-analyzer-optin.cplusplus.VirtualCall, |
| 101 | + cppcoreguidelines-avoid-non-const-global-variables, |
| 102 | + readability-function-size, |
| 103 | + -clang-analyzer-osx*, |
| 104 | + -clang-analyzer-optin.mpi*, |
| 105 | + -clang-analyzer-optin.osx*, |
| 106 | + -clang-analyzer-apiModeling*, |
| 107 | + -clang-analyzer-unix*, |
| 108 | + -clang-analyzer-valist*, |
| 109 | + -clang-analyzer-security.insecureAPI*, |
| 110 | + -clang-analyzer-optin.performance.GCDAntipattern, |
| 111 | + -clang-analyzer-optin.performance.Padding, |
| 112 | + -clang-analyzer-optin.portability.UnixAPI, |
| 113 | + -clang-analyzer-nullability*, |
| 114 | + -clang-analyzer-deadcode.DeadStores*, |
| 115 | + -clang-analyzer-core.uninitialized.CapturedBlockVariable, |
| 116 | + -clang-analyzer-core.CallAndMessage, |
| 117 | + -clang-analyzer-core.DynamicTypePropagation, |
| 118 | + -clang-diagnostic-microsoft-template, |
| 119 | + -readability-identifier-naming, |
| 120 | + -readability-braces-around-statements, |
| 121 | + -readability-inconsistent-declaration-parameter-name, |
| 122 | + -clang-analyzer-cplusplus.NewDelete |
| 123 | +
|
| 124 | +HeaderFilterRegex: ".*include/lxgui/.*" |
| 125 | + |
2 | 126 | CheckOptions:
|
3 | 127 | - key: readability-braces-around-statements.ShortStatementLines
|
4 | 128 | value: '1'
|
|
0 commit comments