From 87d75fa1c84fbac60ba72fcd279fc34d0074a652 Mon Sep 17 00:00:00 2001 From: jatin Date: Tue, 9 Apr 2024 18:15:19 -0700 Subject: [PATCH] PFR: fix for MSVC with Clang --- .../chowdsp_reflection/third_party/pfr/include/pfr/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/common/chowdsp_reflection/third_party/pfr/include/pfr/config.hpp b/modules/common/chowdsp_reflection/third_party/pfr/include/pfr/config.hpp index d8441a6f1..b5cba2664 100644 --- a/modules/common/chowdsp_reflection/third_party/pfr/include/pfr/config.hpp +++ b/modules/common/chowdsp_reflection/third_party/pfr/include/pfr/config.hpp @@ -113,7 +113,7 @@ #ifndef PFR_CORE_NAME_PARSING -# if defined(_MSC_VER) +# if defined(_MSC_VER) && !defined(__clang__) # define PFR_CORE_NAME_PARSING (sizeof("auto __cdecl pfr::detail::name_of_field_impl<") - 1, sizeof(">(void) noexcept") - 1, backward("->")) # elif defined(__clang__) # define PFR_CORE_NAME_PARSING (sizeof("auto pfr::detail::name_of_field_impl() [MsvcWorkaround = ") - 1, sizeof("}]") - 1, backward("."))