diff options
| author | 3gg <3gg@shellblade.net> | 2025-12-27 12:03:39 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2025-12-27 12:03:39 -0800 |
| commit | 5a079a2d114f96d4847d1ee305d5b7c16eeec50e (patch) | |
| tree | 8926ab44f168acf787d8e19608857b3af0f82758 /contrib/SDL-3.2.8/.clang-tidy | |
Initial commit
Diffstat (limited to 'contrib/SDL-3.2.8/.clang-tidy')
| -rw-r--r-- | contrib/SDL-3.2.8/.clang-tidy | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/contrib/SDL-3.2.8/.clang-tidy b/contrib/SDL-3.2.8/.clang-tidy new file mode 100644 index 0000000..b46d0de --- /dev/null +++ b/contrib/SDL-3.2.8/.clang-tidy | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | --- | ||
| 2 | Checks: > | ||
| 3 | -*, | ||
| 4 | bugprone-assert-side-effect, | ||
| 5 | bugprone-assignment-in-if-condition, | ||
| 6 | bugprone-bool-pointer-implicit-conversion, | ||
| 7 | bugprone-dangling-handle, | ||
| 8 | bugprone-dynamic-static-initializers, | ||
| 9 | bugprone-infinite-loop, | ||
| 10 | bugprone-integer-division, | ||
| 11 | bugprone-macro-repeated-side-effects, | ||
| 12 | bugprone-misplaced-operator-in-strlen-in-alloc, | ||
| 13 | bugprone-misplaced-pointer-arithmetic-in-alloc, | ||
| 14 | bugprone-misplaced-widening-cast, | ||
| 15 | bugprone-not-null-terminated-result, | ||
| 16 | bugprone-posix-return, | ||
| 17 | bugprone-redundant-branch-condition, | ||
| 18 | bugprone-string-literal-with-embedded-nul, | ||
| 19 | bugprone-suspicious-memset-usage, | ||
| 20 | bugprone-suspicious-semicolon, | ||
| 21 | bugprone-suspicious-string-compare, | ||
| 22 | bugprone-too-small-loop-variable, | ||
| 23 | bugprone-unused-return-value, | ||
| 24 | cert-err33-c, | ||
| 25 | clang-analyzer-core.*, | ||
| 26 | clang-analyzer-valist.*, | ||
| 27 | clang-analyzer-unix.Malloc, | ||
| 28 | clang-diagnostic-*, | ||
| 29 | google-readability-casting, | ||
| 30 | misc-misleading-bidirectional, | ||
| 31 | misc-misleading-identifier, | ||
| 32 | misc-misplaced-const, | ||
| 33 | misc-redundant-expression, | ||
| 34 | objc-*, | ||
| 35 | performance-type-promotion-in-math-fn, | ||
| 36 | readability-avoid-const-params-in-decls, | ||
| 37 | readability-braces-around-statements, | ||
| 38 | readability-const-return-type, | ||
| 39 | readability-duplicate-include, | ||
| 40 | readability-inconsistent-declaration-parameter-name, | ||
| 41 | readability-misplaced-array-index, | ||
| 42 | readability-non-const-parameter, | ||
| 43 | readability-redundant-control-flow, | ||
| 44 | readability-redundant-declaration, | ||
| 45 | readability-redundant-function-ptr-dereference, | ||
| 46 | readability-redundant-preprocessor, | ||
| 47 | readability-simplify-boolean-expr | ||
| 48 | |||
| 49 | CheckOptions: | ||
| 50 | - key: bugprone-assert-side-effect.AssertMacros | ||
| 51 | value: "SDL_assert, SDL_assert_release, SDL_assert_paranoid, SDL_assert_always, SDL_COMPILE_TIME_ASSERT" | ||
| 52 | - key: bugprone-misplaced-widening-cast.CheckImplicitCasts | ||
| 53 | value: true | ||
| 54 | - key: bugprone-not-null-terminated-result.WantToUseSafeFunctions | ||
| 55 | value: false # Do not recommend _s functions | ||
| 56 | |||
| 57 | FormatStyle: "file" | ||
| 58 | HeaderFilterRegex: "*.h$" | ||
| 59 | WarningsAsErrors: "" | ||
