diff options
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..ad6ec5b --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,43 @@ +Checks: > + *, + -*-avoid-c-arrays, + -*-else-after-return, + -*-magic-numbers, + -*-member-init, + -*-move-const-arg, + -*-named-parameter, + -*-no-malloc, + -*-non-private-member-variables-in-classes, + -*-special-member-functions, + -*-use-auto, + -altera-*, + -bugprone-easily-swappable-parameters, + -bugprone-move-forwarding-reference, + -cert-oop54-cpp, + -cppcoreguidelines-init-variables, + -cppcoreguidelines-owning-memory, + -cppcoreguidelines-pro-bounds-constant-array-index, + -cppcoreguidelines-pro-bounds-pointer-arithmetic, + -cppcoreguidelines-slicing, + -fuchsia-default-arguments-calls, + -fuchsia-default-arguments-declarations, + -fuchsia-overloaded-operator, + -google-explicit-constructor, + -google-readability-casting, + -google-runtime-int, + -google-runtime-references, + -hicpp-explicit-conversions, + -hicpp-signed-bitwise, + -llvm-header-guard, + -llvmlibc-*, + -misc-definitions-in-headers, + -modernize-return-braced-init-list, + -modernize-use-bool-literals, + -modernize-use-trailing-return-type, + -readability-avoid-const-params-in-decls, + -readability-convert-member-functions-to-static, + -readability-identifier-length, + -readability-implicit-bool-conversion, +WarningsAsErrors: '*' +HeaderFilterRegex: '.*' +FormatStyle: file |