aboutsummaryrefslogtreecommitdiffstats
path: root/examples/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-02 21:28:04 +0100
committerDavid Robillard <d@drobilla.net>2021-01-02 21:28:04 +0100
commita0efc4054f0f341a5bcec218c9bab8abffa312a6 (patch)
treeaa39dba903f51b8eff9b3652267b282e343cfd0d /examples/.clang-tidy
parentf6ca60606561ddbe5dab526ab1bc6b89f6dbe082 (diff)
downloadpugl-a0efc4054f0f341a5bcec218c9bab8abffa312a6.tar.gz
pugl-a0efc4054f0f341a5bcec218c9bab8abffa312a6.tar.bz2
pugl-a0efc4054f0f341a5bcec218c9bab8abffa312a6.zip
Fix clang-tidy warnings
Diffstat (limited to 'examples/.clang-tidy')
-rw-r--r--examples/.clang-tidy6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/.clang-tidy b/examples/.clang-tidy
index ad5b75a..3410f19 100644
--- a/examples/.clang-tidy
+++ b/examples/.clang-tidy
@@ -1,9 +1,11 @@
Checks: >
*,
+ -*-non-private-member-variables-in-classes,
-*avoid-c-arrays,
-*magic-numbers,
-*uppercase-literal-suffix,
-android-cloexec-fopen,
+ -bugprone-macro-parentheses,
-bugprone-reserved-identifier,
-bugprone-suspicious-string-compare,
-cert-dcl37-c,
@@ -12,13 +14,16 @@ Checks: >
-clang-analyzer-alpha.*,
-clang-analyzer-security.FloatLoopCounter,
-cppcoreguidelines-avoid-non-const-global-variables,
+ -cppcoreguidelines-macro-usage,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-reinterpret-cast,
+ -cppcoreguidelines-pro-type-static-cast-downcast,
-cppcoreguidelines-pro-type-vararg,
-fuchsia-default-arguments,
-fuchsia-default-arguments-calls,
+ -fuchsia-overloaded-operator,
-google-runtime-references,
-hicpp-multiway-paths-covered,
-hicpp-named-parameter,
@@ -29,7 +34,6 @@ Checks: >
-llvm-header-guard,
-llvmlibc-*,
-misc-misplaced-const,
- -misc-non-private-member-variables-in-classes,
-modernize-use-trailing-return-type,
-readability-else-after-return,
-readability-implicit-bool-conversion,