aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy22
1 files changed, 22 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 6c239a72..e453ebbf 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,19 +1,41 @@
Checks: >
*,
+ -*-deprecated-headers,
-*-magic-numbers,
+ -*-non-private-member-variables-in-classes,
-*-uppercase-literal-suffix,
-android-cloexec-fopen,
-bugprone-branch-clone,
-bugprone-suspicious-string-compare,
+ -cert-dcl50-cpp,
-clang-analyzer-alpha.*,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-clang-analyzer-valist.Uninitialized,
+ -clang-diagnostic-*,
+ -cppcoreguidelines-macro-usage,
+ -cppcoreguidelines-pro-bounds-array-to-pointer-decay,
+ -cppcoreguidelines-pro-bounds-pointer-arithmetic,
+ -cppcoreguidelines-pro-type-reinterpret-cast,
+ -cppcoreguidelines-pro-type-vararg,
+ -fuchsia-default-argument*,
+ -fuchsia-multiple-inheritance,
+ -fuchsia-overloaded-operator,
+ -google-explicit-constructor,
-google-readability-todo,
+ -google-runtime-references,
+ -hicpp-explicit-conversions,
-hicpp-multiway-paths-covered,
+ -hicpp-no-array-decay,
-hicpp-signed-bitwise,
+ -hicpp-vararg,
-llvm-header-guard,
+ -modernize-use-nullptr,
+ -modernize-use-trailing-return-type,
+ -modernize-use-using,
+ -performance-unnecessary-value-param,
-readability-else-after-return,
-readability-implicit-bool-conversion,
+ -readability-named-parameter,
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
FormatStyle: file