diff options
author | David Robillard <d@drobilla.net> | 2021-12-17 13:05:43 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-12-17 13:05:43 -0500 |
commit | b953b87ad473c7a4480df6b2bcbed68b13c8c663 (patch) | |
tree | 4b2ce682679286e98efd399aec6115a82ce3fc76 | |
parent | 57342f580b15948aa5be35701f9742a25ca9493d (diff) | |
download | pugl-b953b87ad473c7a4480df6b2bcbed68b13c8c663.tar.gz pugl-b953b87ad473c7a4480df6b2bcbed68b13c8c663.tar.bz2 pugl-b953b87ad473c7a4480df6b2bcbed68b13c8c663.zip |
Suppress new warnings in clang-tidy 13
-rw-r--r-- | bindings/cpp/include/.clang-tidy | 2 | ||||
-rw-r--r-- | examples/.clang-tidy | 3 | ||||
-rw-r--r-- | include/.clang-tidy | 2 | ||||
-rw-r--r-- | meson.build | 1 | ||||
-rw-r--r-- | src/.clang-tidy | 3 | ||||
-rw-r--r-- | test/.clang-tidy | 2 |
6 files changed, 8 insertions, 5 deletions
diff --git a/bindings/cpp/include/.clang-tidy b/bindings/cpp/include/.clang-tidy index 20c477e..547f0b9 100644 --- a/bindings/cpp/include/.clang-tidy +++ b/bindings/cpp/include/.clang-tidy @@ -1,7 +1,7 @@ Checks: > *, -*-uppercase-literal-suffix, - -altera-struct-pack-align, + -altera*, -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 a03027e..52f1f0e 100644 --- a/examples/.clang-tidy +++ b/examples/.clang-tidy @@ -4,8 +4,9 @@ Checks: > -*avoid-c-arrays, -*magic-numbers, -*uppercase-literal-suffix, - -altera-struct-pack-align, + -altera*, -android-cloexec-fopen, + -bugprone-easily-swappable-parameters, -bugprone-macro-parentheses, -bugprone-reserved-identifier, -bugprone-suspicious-string-compare, diff --git a/include/.clang-tidy b/include/.clang-tidy index b6d941c..3421cc2 100644 --- a/include/.clang-tidy +++ b/include/.clang-tidy @@ -2,7 +2,7 @@ Checks: > *, -*-magic-numbers, -*-uppercase-literal-suffix, - -altera-struct-pack-align, + -altera*, -clang-diagnostic-unused-function, -clang-diagnostic-unused-macros, -llvmlibc-*, diff --git a/meson.build b/meson.build index a74f9f7..892944b 100644 --- a/meson.build +++ b/meson.build @@ -42,6 +42,7 @@ if get_option('strict') '-Wno-documentation-unknown-command', # Cairo '-Wno-padded', '-Wno-reserved-id-macro', + '-Wno-reserved-identifier', # Cairo, FD_ZERO '-Wno-switch-default', '-Wno-switch-enum', ] diff --git a/src/.clang-tidy b/src/.clang-tidy index f4378ba..70b522f 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -2,7 +2,8 @@ Checks: > *, -*-uppercase-literal-suffix, -*magic-numbers, - -altera-struct-pack-align, + -altera*, + -bugprone-easily-swappable-parameters, -bugprone-reserved-identifier, -cert-dcl37-c, -cert-dcl51-cpp, diff --git a/test/.clang-tidy b/test/.clang-tidy index f3a1adc..832c2d0 100644 --- a/test/.clang-tidy +++ b/test/.clang-tidy @@ -2,7 +2,7 @@ Checks: > *, -*-magic-numbers, -*-uppercase-literal-suffix, - -altera-struct-pack-align, + -altera*, -bugprone-reserved-identifier, -bugprone-suspicious-include, -cert-dcl37-c, |