aboutsummaryrefslogtreecommitdiffstats
path: root/al
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-12-10 11:34:04 -0800
committerChris Robinson <[email protected]>2023-12-10 11:34:04 -0800
commit073d79c2047143e70bb199077fe3c8dbafe0a606 (patch)
tree2b565090f3d48166481f0aa685f70968e7ea837d /al
parent44fbc93909a1a1d1dc26c01feb32bf13a5140234 (diff)
More clang-tidy cleanup
And suppress some warnings
Diffstat (limited to 'al')
-rw-r--r--al/eax/globals.h2
-rw-r--r--al/effect.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/al/eax/globals.h b/al/eax/globals.h
index ff05d009..4d501ff9 100644
--- a/al/eax/globals.h
+++ b/al/eax/globals.h
@@ -3,6 +3,7 @@
inline bool eax_g_is_enabled{true};
+/* NOLINTBEGIN(*-avoid-c-arrays) */
inline constexpr char eax1_ext_name[]{"EAX"};
inline constexpr char eax2_ext_name[]{"EAX2.0"};
inline constexpr char eax3_ext_name[]{"EAX3.0"};
@@ -16,5 +17,6 @@ inline constexpr char eax_eax_get_func_name[]{"EAXGet"};
inline constexpr char eax_eax_set_buffer_mode_func_name[]{"EAXSetBufferMode"};
inline constexpr char eax_eax_get_buffer_mode_func_name[]{"EAXGetBufferMode"};
+/* NOLINTEND(*-avoid-c-arrays) */
#endif // !EAX_GLOBALS_INCLUDED
diff --git a/al/effect.h b/al/effect.h
index 7c5c40dc..fef03475 100644
--- a/al/effect.h
+++ b/al/effect.h
@@ -34,7 +34,7 @@ enum {
inline std::bitset<MAX_EFFECTS> DisabledEffects;
struct EffectList {
- const char name[16];
+ const char name[16]; /* NOLINT(*-avoid-c-arrays) */
ALuint type;
ALenum val;
};