aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bindings/cpp/include/.clang-tidy1
-rw-r--r--examples/.clang-tidy1
2 files changed, 2 insertions, 0 deletions
diff --git a/bindings/cpp/include/.clang-tidy b/bindings/cpp/include/.clang-tidy
index 4437bd8..b7cee8e 100644
--- a/bindings/cpp/include/.clang-tidy
+++ b/bindings/cpp/include/.clang-tidy
@@ -5,6 +5,7 @@ Checks: >
*,
-altera*,
-clang-diagnostic-unused-macros,
+ -cppcoreguidelines-avoid-const-or-ref-data-members,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-reinterpret-cast,
-google-runtime-references,
diff --git a/examples/.clang-tidy b/examples/.clang-tidy
index 7d87f3d..500dff1 100644
--- a/examples/.clang-tidy
+++ b/examples/.clang-tidy
@@ -14,6 +14,7 @@ Checks: >
-cert-dcl51-cpp,
-cert-err33-c,
-concurrency-mt-unsafe,
+ -cppcoreguidelines-avoid-const-or-ref-data-members,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,