aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-10-01 17:42:26 -0400
committerDavid Robillard <d@drobilla.net>2024-10-01 17:42:26 -0400
commit676312f757ab666fbfa459d7ec562ba4168e771b (patch)
treee4592f4a88694434e13d0f148b08476529d5cf6c /examples
parentfed2de072f1d0ce59971c4da228bd5f057274c6e (diff)
downloadpugl-676312f757ab666fbfa459d7ec562ba4168e771b.tar.gz
pugl-676312f757ab666fbfa459d7ec562ba4168e771b.tar.bz2
pugl-676312f757ab666fbfa459d7ec562ba4168e771b.zip
Suppress new warnings in clang and clang-tidy 18
Diffstat (limited to 'examples')
-rw-r--r--examples/.clang-tidy5
-rw-r--r--examples/cube_view.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/examples/.clang-tidy b/examples/.clang-tidy
index 7dde8bb..cba7eda 100644
--- a/examples/.clang-tidy
+++ b/examples/.clang-tidy
@@ -1,4 +1,4 @@
-# Copyright 2020-2023 David Robillard <d@drobilla.net>
+# Copyright 2020-2024 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
Checks: >
@@ -8,6 +8,7 @@ Checks: >
-android-cloexec-fopen,
-bugprone-easily-swappable-parameters,
-bugprone-macro-parentheses,
+ -bugprone-multi-level-implicit-pointer-conversion,
-bugprone-reserved-identifier,
-bugprone-suspicious-string-compare,
-cert-dcl37-c,
@@ -34,9 +35,11 @@ Checks: >
-llvm-header-guard,
-misc-misplaced-const,
-modernize-use-trailing-return-type,
+ -performance-enum-size,
-performance-no-int-to-ptr,
-readability-function-cognitive-complexity,
-readability-implicit-bool-conversion,
+ -readability-redundant-member-init,
CheckOptions:
- key: cppcoreguidelines-avoid-do-while.IgnoreMacros
value: true
diff --git a/examples/cube_view.h b/examples/cube_view.h
index 399f625..6941870 100644
--- a/examples/cube_view.h
+++ b/examples/cube_view.h
@@ -4,7 +4,7 @@
#ifndef EXAMPLES_CUBE_VIEW_H
#define EXAMPLES_CUBE_VIEW_H
-#define GL_SILENCE_DEPRECATION 1 // NOLINT(modernize-macro-to-enum)
+#define GL_SILENCE_DEPRECATION 1 // NOLINT(*-macro-to-enum)
#include "demo_utils.h"