.clang-tidy 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. # Generated from CLion Inspection settings
  2. ---
  3. Checks: '-*,
  4. bugprone-argument-comment,
  5. bugprone-assert-side-effect,
  6. bugprone-bad-signal-to-kill-thread,
  7. bugprone-branch-clone,
  8. bugprone-copy-constructor-init,
  9. bugprone-dangling-handle,
  10. bugprone-dynamic-static-initializers,
  11. bugprone-fold-init-type,
  12. bugprone-forward-declaration-namespace,
  13. bugprone-forwarding-reference-overload,
  14. bugprone-inaccurate-erase,
  15. bugprone-incorrect-roundings,
  16. bugprone-integer-division,
  17. bugprone-lambda-function-name,
  18. bugprone-macro-parentheses,
  19. bugprone-macro-repeated-side-effects,
  20. bugprone-misplaced-operator-in-strlen-in-alloc,
  21. bugprone-misplaced-pointer-arithmetic-in-alloc,
  22. bugprone-misplaced-widening-cast,
  23. bugprone-move-forwarding-reference,
  24. bugprone-multiple-statement-macro,
  25. bugprone-no-escape,
  26. bugprone-not-null-terminated-result,
  27. bugprone-parent-virtual-call,
  28. bugprone-posix-return,
  29. bugprone-reserved-identifier,
  30. bugprone-sizeof-container,
  31. bugprone-sizeof-expression,
  32. bugprone-spuriously-wake-up-functions,
  33. bugprone-string-constructor,
  34. bugprone-string-integer-assignment,
  35. bugprone-string-literal-with-embedded-nul,
  36. bugprone-suspicious-enum-usage,
  37. bugprone-suspicious-include,
  38. bugprone-suspicious-memory-comparison,
  39. bugprone-suspicious-memset-usage,
  40. bugprone-suspicious-missing-comma,
  41. bugprone-suspicious-semicolon,
  42. bugprone-suspicious-string-compare,
  43. bugprone-swapped-arguments,
  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. bugprone-virtual-near-miss,
  54. cert-dcl21-cpp,
  55. cert-dcl58-cpp,
  56. cert-err34-c,
  57. cert-err52-cpp,
  58. cert-err60-cpp,
  59. cert-flp30-c,
  60. cert-msc50-cpp,
  61. cert-msc51-cpp,
  62. cert-str34-c,
  63. cppcoreguidelines-interfaces-global-init,
  64. cppcoreguidelines-narrowing-conversions,
  65. cppcoreguidelines-pro-type-member-init,
  66. cppcoreguidelines-pro-type-static-cast-downcast,
  67. cppcoreguidelines-slicing,
  68. google-default-arguments,
  69. google-explicit-constructor,
  70. google-runtime-operator,
  71. hicpp-exception-baseclass,
  72. hicpp-multiway-paths-covered,
  73. misc-misplaced-const,
  74. misc-new-delete-overloads,
  75. misc-no-recursion,
  76. misc-non-copyable-objects,
  77. misc-throw-by-value-catch-by-reference,
  78. misc-unconventional-assign-operator,
  79. misc-uniqueptr-reset-release,
  80. modernize-avoid-bind,
  81. modernize-concat-nested-namespaces,
  82. modernize-deprecated-headers,
  83. modernize-deprecated-ios-base-aliases,
  84. modernize-loop-convert,
  85. modernize-make-shared,
  86. modernize-make-unique,
  87. modernize-pass-by-value,
  88. modernize-raw-string-literal,
  89. modernize-redundant-void-arg,
  90. modernize-replace-auto-ptr,
  91. modernize-replace-disallow-copy-and-assign-macro,
  92. modernize-replace-random-shuffle,
  93. modernize-return-braced-init-list,
  94. modernize-shrink-to-fit,
  95. modernize-unary-static-assert,
  96. modernize-use-auto,
  97. modernize-use-bool-literals,
  98. modernize-use-emplace,
  99. modernize-use-equals-default,
  100. modernize-use-equals-delete,
  101. modernize-use-nodiscard,
  102. modernize-use-noexcept,
  103. modernize-use-nullptr,
  104. modernize-use-override,
  105. modernize-use-transparent-functors,
  106. modernize-use-uncaught-exceptions,
  107. mpi-buffer-deref,
  108. mpi-type-mismatch,
  109. openmp-use-default-none,
  110. performance-faster-string-find,
  111. performance-for-range-copy,
  112. performance-implicit-conversion-in-loop,
  113. performance-inefficient-algorithm,
  114. performance-inefficient-string-concatenation,
  115. performance-inefficient-vector-operation,
  116. performance-move-const-arg,
  117. performance-move-constructor-init,
  118. performance-no-automatic-move,
  119. performance-noexcept-move-constructor,
  120. performance-trivially-destructible,
  121. performance-type-promotion-in-math-fn,
  122. performance-unnecessary-copy-initialization,
  123. performance-unnecessary-value-param,
  124. portability-simd-intrinsics,
  125. readability-avoid-const-params-in-decls,
  126. readability-const-return-type,
  127. readability-container-size-empty,
  128. readability-convert-member-functions-to-static,
  129. readability-delete-null-pointer,
  130. readability-deleted-default,
  131. readability-inconsistent-declaration-parameter-name,
  132. readability-make-member-function-const,
  133. readability-misleading-indentation,
  134. readability-misplaced-array-index,
  135. readability-non-const-parameter,
  136. readability-redundant-control-flow,
  137. readability-redundant-declaration,
  138. readability-redundant-function-ptr-dereference,
  139. readability-redundant-smartptr-get,
  140. readability-redundant-string-cstr,
  141. readability-redundant-string-init,
  142. readability-simplify-subscript-expr,
  143. readability-static-accessed-through-instance,
  144. readability-static-definition-in-anonymous-namespace,
  145. readability-string-compare,
  146. readability-uniqueptr-delete-release,
  147. readability-use-anyofallof'