aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-22 18:17:09 +0100
committerDavid Robillard <d@drobilla.net>2020-11-22 18:19:46 +0100
commit6426b03476fb91efbd90acd599472010f5474390 (patch)
treeba06563214240533bd02b6021dbbefdbbfc4dd64 /src
parent0a5b734f6d373b5230d79db625ca311255a49abf (diff)
downloadpugl-6426b03476fb91efbd90acd599472010f5474390.tar.gz
pugl-6426b03476fb91efbd90acd599472010f5474390.tar.bz2
pugl-6426b03476fb91efbd90acd599472010f5474390.zip
Suppress various clang-tidy warnings
These libc-specific warnings are a new level, even for LLVM. Using an opt-out style for this is probably not going to last.
Diffstat (limited to 'src')
-rw-r--r--src/.clang-tidy5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index bdbd078..808cbb1 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -2,13 +2,18 @@ Checks: >
*,
-*-uppercase-literal-suffix,
-*magic-numbers,
+ -bugprone-reserved-identifier,
-bugprone-suspicious-string-compare,
+ -cert-dcl37-c,
+ -cert-dcl51-cpp,
-cert-flp30-c,
-clang-analyzer-security.FloatLoopCounter,
-clang-diagnostic-unused-macros,
-hicpp-multiway-paths-covered,
-hicpp-signed-bitwise,
+ -llvm-else-after-return,
-llvm-header-guard,
+ -llvmlibc-*,
-readability-else-after-return,
FormatStyle: file
HeaderFilterRegex: 'pugl/.*'