[libcxx-commits] [libcxx] [libc++] Only forward-declare ABI-functions in exception_ptr.h if they are meant to be used (PR #84707)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Mar 11 07:58:10 PDT 2024


================
@@ -37,14 +39,16 @@ _LIBCPP_OVERRIDABLE_FUNC_VIS __cxa_exception* __cxa_init_primary_exception(
     void*,
     std::type_info*,
     void(
-#  if defined(_WIN32)
+#    if defined(_WIN32)
         __thiscall
-#  endif
+#    endif
             *)(void*)) throw();
----------------
ldionne wrote:

I would keep the patch as-is just to separate concerns.

https://github.com/llvm/llvm-project/pull/84707


More information about the libcxx-commits mailing list