diff --git a/include/boost/leaf/detail/demangle.hpp b/include/boost/leaf/detail/demangle.hpp index 898f29b0..8f8cf7f2 100644 --- a/include/boost/leaf/detail/demangle.hpp +++ b/include/boost/leaf/detail/demangle.hpp @@ -147,26 +147,35 @@ namespace n #define BOOST_LEAF_P(P) (sizeof(char[1 + detail::check_prefix(BOOST_LEAF_PRETTY_FUNCTION, P)]) - 1) // clang style: int const p01 = BOOST_LEAF_P("r boost::leaf::n::p() [T = "); + int const p02 = BOOST_LEAF_P("r __cdecl boost::leaf::n::p(void) [T = "); + int const p03 = BOOST_LEAF_P("r __stdcall boost::leaf::n::p(void) [T = "); + int const p04 = BOOST_LEAF_P("r __fastcall boost::leaf::n::p(void) [T = "); // old clang style: - int const p02 = BOOST_LEAF_P("boost::leaf::n::r boost::leaf::n::p() [T = "); + int const p05 = BOOST_LEAF_P("boost::leaf::n::r boost::leaf::n::p() [T = "); + int const p06 = BOOST_LEAF_P("boost::leaf::n::r __cdecl boost::leaf::n::p(void) [T = "); + int const p07 = BOOST_LEAF_P("boost::leaf::n::r __stdcall boost::leaf::n::p(void) [T = "); + int const p08 = BOOST_LEAF_P("boost::leaf::n::r __fastcall boost::leaf::n::p(void) [T = "); // gcc style: - int const p03 = BOOST_LEAF_P("boost::leaf::n::r boost::leaf::n::p() [with T = "); + int const p09 = BOOST_LEAF_P("boost::leaf::n::r boost::leaf::n::p() [with T = "); + int const p10 = BOOST_LEAF_P("boost::leaf::n::r __cdecl boost::leaf::n::p() [with T = "); + int const p11 = BOOST_LEAF_P("boost::leaf::n::r __stdcall boost::leaf::n::p() [with T = "); + int const p12 = BOOST_LEAF_P("boost::leaf::n::r __fastcall boost::leaf::n::p() [with T = "); // msvc style, struct: - int const p04 = BOOST_LEAF_P("struct boost::leaf::n::r __cdecl boost::leaf::n::p