.clang-tidy raw

   1  Checks: '
   2  -*,
   3  bugprone-argument-comment,
   4  bugprone-move-forwarding-reference,
   5  bugprone-string-constructor,
   6  bugprone-use-after-move,
   7  bugprone-lambda-function-name,
   8  bugprone-unhandled-self-assignment,
   9  misc-unused-using-decls,
  10  misc-no-recursion,
  11  modernize-deprecated-headers,
  12  modernize-use-default-member-init,
  13  modernize-use-emplace,
  14  modernize-use-equals-default,
  15  modernize-use-noexcept,
  16  modernize-use-nullptr,
  17  modernize-use-starts-ends-with,
  18  performance-*,
  19  -performance-avoid-endl,
  20  -performance-enum-size,
  21  -performance-inefficient-string-concatenation,
  22  -performance-no-int-to-ptr,
  23  -performance-noexcept-move-constructor,
  24  -performance-unnecessary-value-param,
  25  readability-const-return-type,
  26  readability-redundant-declaration,
  27  readability-redundant-string-init,
  28  clang-analyzer-core.*,
  29  -clang-analyzer-core.UndefinedBinaryOperatorResult,
  30  clang-analyzer-optin.core.*,
  31  '
  32  HeaderFilterRegex: '.'
  33  WarningsAsErrors: '*'
  34  CheckOptions:
  35   - key: modernize-deprecated-headers.CheckHeaderFile
  36     value: false
  37   - key: performance-move-const-arg.CheckTriviallyCopyableMove
  38     value: false
  39   - key: bugprone-unhandled-self-assignment.WarnOnlyIfThisHasSuspiciousField
  40     value: false
  41