config: suppress macro usage linter messages

This commit is contained in:
Michele Caini
2024-05-22 16:06:58 +02:00
parent d0f8974e08
commit 1ffbd845dc

View File

@@ -3,6 +3,8 @@
#include "version.h"
// NOLINTBEGIN(cppcoreguidelines-macro-usage)
#if defined(__cpp_exceptions) && !defined(ENTT_NOEXCEPTION)
# define ENTT_CONSTEXPR
# define ENTT_THROW throw
@@ -88,4 +90,6 @@
# pragma detect_mismatch("entt.nonstd", ENTT_XSTR(ENTT_NONSTD))
#endif
// NOLINTEND(cppcoreguidelines-macro-usage)
#endif