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

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Sun Mar 10 23:28:53 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();
----------------
frederick-vs-ja wrote:

Pre-existing, no change requested: Should we replace these `throw()`'s with `_NOEXCEPT`? (perhaps in another PR)

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


More information about the libcxx-commits mailing list