diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c7b41ea..d63c4a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -145,6 +145,10 @@ jobs: addrmd: 64 os: windows-2022 threads: "-j1" + - toolset: clang-win + cxxstd: "14,17,2a,latest" + addrmd: 32,64 + os: windows-2022 runs-on: ${{matrix.os}} diff --git a/include/boost/pfr/config.hpp b/include/boost/pfr/config.hpp index 9c778c1..4038999 100644 --- a/include/boost/pfr/config.hpp +++ b/include/boost/pfr/config.hpp @@ -113,7 +113,7 @@ #ifndef BOOST_PFR_CORE_NAME_PARSING -# if defined(_MSC_VER) +# if defined(_MSC_VER) && !defined(__clang__) # define BOOST_PFR_CORE_NAME_PARSING (sizeof("auto __cdecl boost::pfr::detail::name_of_field_impl<") - 1, sizeof(">(void) noexcept") - 1, backward("->")) # elif defined(__clang__) # define BOOST_PFR_CORE_NAME_PARSING (sizeof("auto boost::pfr::detail::name_of_field_impl() [MsvcWorkaround = ") - 1, sizeof("}]") - 1, backward("."))