aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-08-28 10:55:42 -0400
committerDavid Robillard <d@drobilla.net>2021-08-28 12:58:23 -0400
commite1569942291787743e86ab7445944dc4d451ef73 (patch)
tree21f1270f8a518ad1de246cbdace88f86e2d7f57c
parent79116b0431e3be95f5abcac0c456361e486824d8 (diff)
downloadpugl-e1569942291787743e86ab7445944dc4d451ef73.tar.gz
pugl-e1569942291787743e86ab7445944dc4d451ef73.tar.bz2
pugl-e1569942291787743e86ab7445944dc4d451ef73.zip
Suppress new clang-tidy warnings
-rw-r--r--bindings/cpp/include/.clang-tidy1
-rw-r--r--examples/.clang-tidy4
-rw-r--r--include/.clang-tidy1
-rw-r--r--src/.clang-tidy2
-rw-r--r--test/.clang-tidy3
5 files changed, 11 insertions, 0 deletions
diff --git a/bindings/cpp/include/.clang-tidy b/bindings/cpp/include/.clang-tidy
index 15651d3..20c477e 100644
--- a/bindings/cpp/include/.clang-tidy
+++ b/bindings/cpp/include/.clang-tidy
@@ -1,6 +1,7 @@
Checks: >
*,
-*-uppercase-literal-suffix,
+ -altera-struct-pack-align,
-clang-diagnostic-unused-macros,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-reinterpret-cast,
diff --git a/examples/.clang-tidy b/examples/.clang-tidy
index e7e83a6..a03027e 100644
--- a/examples/.clang-tidy
+++ b/examples/.clang-tidy
@@ -4,6 +4,7 @@ Checks: >
-*avoid-c-arrays,
-*magic-numbers,
-*uppercase-literal-suffix,
+ -altera-struct-pack-align,
-android-cloexec-fopen,
-bugprone-macro-parentheses,
-bugprone-reserved-identifier,
@@ -13,6 +14,7 @@ Checks: >
-cert-flp30-c,
-clang-analyzer-alpha.*,
-clang-analyzer-security.FloatLoopCounter,
+ -concurrency-mt-unsafe,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
@@ -33,6 +35,8 @@ Checks: >
-llvmlibc-*,
-misc-misplaced-const,
-modernize-use-trailing-return-type,
+ -performance-no-int-to-ptr,
+ -readability-function-cognitive-complexity,
-readability-implicit-bool-conversion,
-readability-named-parameter,
FormatStyle: file
diff --git a/include/.clang-tidy b/include/.clang-tidy
index dd2fd47..b6d941c 100644
--- a/include/.clang-tidy
+++ b/include/.clang-tidy
@@ -2,6 +2,7 @@ Checks: >
*,
-*-magic-numbers,
-*-uppercase-literal-suffix,
+ -altera-struct-pack-align,
-clang-diagnostic-unused-function,
-clang-diagnostic-unused-macros,
-llvmlibc-*,
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 2ee3372..f4378ba 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -2,6 +2,7 @@ Checks: >
*,
-*-uppercase-literal-suffix,
-*magic-numbers,
+ -altera-struct-pack-align,
-bugprone-reserved-identifier,
-cert-dcl37-c,
-cert-dcl51-cpp,
@@ -10,5 +11,6 @@ Checks: >
-hicpp-signed-bitwise,
-llvm-header-guard,
-llvmlibc-*,
+ -readability-function-cognitive-complexity,
FormatStyle: file
HeaderFilterRegex: 'pugl/.*'
diff --git a/test/.clang-tidy b/test/.clang-tidy
index 30893c7..f3a1adc 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -2,7 +2,9 @@ Checks: >
*,
-*-magic-numbers,
-*-uppercase-literal-suffix,
+ -altera-struct-pack-align,
-bugprone-reserved-identifier,
+ -bugprone-suspicious-include,
-cert-dcl37-c,
-cert-dcl51-cpp,
-google-runtime-references,
@@ -11,5 +13,6 @@ Checks: >
-llvm-header-guard,
-llvmlibc-*,
-modernize-use-trailing-return-type,
+ -readability-function-cognitive-complexity,
FormatStyle: file
HeaderFilterRegex: 'pugl/.*|test/.*'