diff options
author | David Robillard <d@drobilla.net> | 2020-11-22 18:17:09 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-22 18:19:46 +0100 |
commit | 6426b03476fb91efbd90acd599472010f5474390 (patch) | |
tree | ba06563214240533bd02b6021dbbefdbbfc4dd64 /examples | |
parent | 0a5b734f6d373b5230d79db625ca311255a49abf (diff) | |
download | pugl-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 'examples')
-rw-r--r-- | examples/.clang-tidy | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/.clang-tidy b/examples/.clang-tidy index 2a0160d..ad5b75a 100644 --- a/examples/.clang-tidy +++ b/examples/.clang-tidy @@ -4,10 +4,14 @@ Checks: > -*magic-numbers, -*uppercase-literal-suffix, -android-cloexec-fopen, + -bugprone-reserved-identifier, -bugprone-suspicious-string-compare, + -cert-dcl37-c, + -cert-dcl51-cpp, -cert-flp30-c, -clang-analyzer-alpha.*, -clang-analyzer-security.FloatLoopCounter, + -cppcoreguidelines-avoid-non-const-global-variables, -cppcoreguidelines-pro-bounds-array-to-pointer-decay, -cppcoreguidelines-pro-bounds-constant-array-index, -cppcoreguidelines-pro-bounds-pointer-arithmetic, @@ -17,10 +21,13 @@ Checks: > -fuchsia-default-arguments-calls, -google-runtime-references, -hicpp-multiway-paths-covered, + -hicpp-named-parameter, -hicpp-no-array-decay, -hicpp-signed-bitwise, -hicpp-vararg, + -llvm-else-after-return, -llvm-header-guard, + -llvmlibc-*, -misc-misplaced-const, -misc-non-private-member-variables-in-classes, -modernize-use-trailing-return-type, |