.clang-tidy 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ---
  2. Checks: '*,
  3. -cppcoreguidelines-pro-type-static-cast-downcast,
  4. -fuchsia-default-arguments-calls,
  5. -fuchsia-default-arguments,
  6. -fuchsia-default-arguments-declarations,
  7. -fuchsia-overloaded-operator,
  8. -fuchsia-statically-constructed-objects,
  9. -hicpp-use-auto,
  10. -modernize-use-auto,
  11. -modernize-use-trailing-return-type,
  12. -readability-implicit-bool-conversion,
  13. -readability-const-return-type,
  14. -google-runtime-references,
  15. -misc-non-private-member-variables-in-classes,
  16. -llvm-include-order,
  17. -cppcoreguidelines-non-private-member-variables-in-classes,
  18. -cppcoreguidelines-pro-type-vararg,
  19. -hicpp-vararg,
  20. -cppcoreguidelines-owning-memory,
  21. -llvmlibc-callee-namespace,
  22. -cppcoreguidelines-pro-bounds-array-to-pointer-decay,
  23. -hicpp-no-array-decay,
  24. -modernize-pass-by-value,
  25. -cppcoreguidelines-pro-bounds-constant-array-index,
  26. -hicpp-signed-bitwise,
  27. -llvmlibc-implementation-in-namespace,
  28. -llvmlibc-restrict-system-libc-headers,
  29. -readability-function-cognitive-complexity,
  30. -readability-identifier-length,
  31. -altera-unroll-loops,
  32. -altera-id-dependent-backward-branch,
  33. -bugprone-easily-swappable-parameters,
  34. -modernize-return-braced-init-list,
  35. -cppcoreguidelines-avoid-magic-numbers,
  36. -readability-magic-numbers
  37. '
  38. WarningsAsErrors: '*'
  39. HeaderFilterRegex: 'src/*.hpp'
  40. FormatStyle: file