aboutsummaryrefslogtreecommitdiffstats
path: root/examples/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to 'examples/.clang-tidy')
-rw-r--r--examples/.clang-tidy6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/.clang-tidy b/examples/.clang-tidy
index ad5b75a..3410f19 100644
--- a/examples/.clang-tidy
+++ b/examples/.clang-tidy
@@ -1,9 +1,11 @@
Checks: >
*,
+ -*-non-private-member-variables-in-classes,
-*avoid-c-arrays,
-*magic-numbers,
-*uppercase-literal-suffix,
-android-cloexec-fopen,
+ -bugprone-macro-parentheses,
-bugprone-reserved-identifier,
-bugprone-suspicious-string-compare,
-cert-dcl37-c,
@@ -12,13 +14,16 @@ Checks: >
-clang-analyzer-alpha.*,
-clang-analyzer-security.FloatLoopCounter,
-cppcoreguidelines-avoid-non-const-global-variables,
+ -cppcoreguidelines-macro-usage,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-reinterpret-cast,
+ -cppcoreguidelines-pro-type-static-cast-downcast,
-cppcoreguidelines-pro-type-vararg,
-fuchsia-default-arguments,
-fuchsia-default-arguments-calls,
+ -fuchsia-overloaded-operator,
-google-runtime-references,
-hicpp-multiway-paths-covered,
-hicpp-named-parameter,
@@ -29,7 +34,6 @@ Checks: >
-llvm-header-guard,
-llvmlibc-*,
-misc-misplaced-const,
- -misc-non-private-member-variables-in-classes,
-modernize-use-trailing-return-type,
-readability-else-after-return,
-readability-implicit-bool-conversion,