SDL

Форк
0
/
.clang-tidy 
59 строк · 1.9 Кб
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: ""
60

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.