summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy66
1 files changed, 66 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000..8e7c23d
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,66 @@
+Checks: >
+ *,
+ -*-braces-around-statements,
+ -*-c-arrays,
+ -*-else-after-return,
+ -*-magic-numbers,
+ -*-member-init,
+ -*-narrowing-conversions,
+ -*-no-malloc,
+ -*-non-private-member-variables-in-classes,
+ -*-special-member-functions,
+ -*-unused-macros,
+ -*-uppercase-literal-suffix,
+ -*-use-auto,
+ -*-use-emplace,
+ -*-use-equals-default,
+ -*-use-override,
+ -*-use-override,
+ -*-vararg,
+ -bugprone-branch-clone,
+ -bugprone-forward-declaration-namespace,
+ -cert-msc30-c,
+ -cert-msc50-cpp,
+ -clang-analyzer-optin.cplusplus.VirtualCall,
+ -clang-diagnostic-unreachable-code-return,
+ -cppcoreguidelines-avoid-non-const-global-variables,
+ -cppcoreguidelines-explicit-virtual-functions,
+ -cppcoreguidelines-init-variables,
+ -cppcoreguidelines-macro-usage,
+ -cppcoreguidelines-owning-memory,
+ -cppcoreguidelines-pro-bounds-array-to-pointer-decay,
+ -cppcoreguidelines-pro-bounds-constant-array-index,
+ -cppcoreguidelines-pro-bounds-pointer-arithmetic,
+ -cppcoreguidelines-pro-type-cstyle-cast,
+ -cppcoreguidelines-pro-type-reinterpret-cast,
+ -cppcoreguidelines-pro-type-union-access,
+ -fuchsia-default-arguments-calls,
+ -fuchsia-default-arguments-declarations,
+ -fuchsia-multiple-inheritance,
+ -fuchsia-overloaded-operator,
+ -google-default-arguments,
+ -google-explicit-constructor,
+ -google-readability-casting,
+ -google-runtime-references,
+ -hicpp-explicit-conversions,
+ -hicpp-no-array-decay,
+ -hicpp-signed-bitwise,
+ -llvm-header-guard,
+ -llvmlibc-*,
+ -misc-unused-parameters,
+ -modernize-loop-convert,
+ -modernize-use-nullptr,
+ -modernize-use-trailing-return-type,
+ -modernize-use-using,
+ -performance-faster-string-find,
+ -performance-unnecessary-value-param,
+ -readability-convert-member-functions-to-static,
+ -readability-implicit-bool-conversion,
+ -readability-inconsistent-declaration-parameter-name,
+ -readability-isolate-declaration,
+ -readability-make-member-function-const,
+ -readability-redundant-smartptr-get,
+ -readability-static-accessed-through-instance,
+FormatStyle: file
+WarningsAsErrors: '*'
+HeaderFilterRegex: 'src/.*' \ No newline at end of file