From e27183e044861fba9e34d4dd3f4d5ade751b2e45 Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 9 Sep 2025 13:33:34 +0100 Subject: [PATCH] LV2: Add clang-tidy warning suppression comments --- modules/juce_audio_processors/format_types/LV2_SDK/README.md | 1 + .../format_types/LV2_SDK/lv2/lv2/atom/util.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/modules/juce_audio_processors/format_types/LV2_SDK/README.md b/modules/juce_audio_processors/format_types/LV2_SDK/README.md index 7d6e748919..a08d66f255 100644 --- a/modules/juce_audio_processors/format_types/LV2_SDK/README.md +++ b/modules/juce_audio_processors/format_types/LV2_SDK/README.md @@ -9,6 +9,7 @@ directory. The following modifications were made: multiple times - Fixed a leak of plugin classes when calling lilv_world_load_plugin_classes multiple times +- Added clang-tidy warning suppression comments to atom/util.h Remember to update the versions in the config headers if you ever update the library versions! diff --git a/modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/atom/util.h b/modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/atom/util.h index f4612e94e0..0ef0514fbd 100644 --- a/modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/atom/util.h +++ b/modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/atom/util.h @@ -17,6 +17,8 @@ #ifndef LV2_ATOM_UTIL_H #define LV2_ATOM_UTIL_H +// NOLINTBEGIN(clang-analyzer-security.ArrayBound) + /** @file util.h Helper functions for the LV2 Atom extension. @@ -520,4 +522,6 @@ lv2_atom_object_get_typed(const LV2_Atom_Object* object, ...) @} */ +// NOLINTEND(clang-analyzer-security.ArrayBound) + #endif /* LV2_ATOM_UTIL_H */