[libcxx-commits] [libcxx] [libc++] NFC: only forward-declare ABI-functions in exception_ptr.h if they are meant to be used (PR #84707)
    via libcxx-commits 
    libcxx-commits at lists.llvm.org
       
    Sun Mar 10 23:37:57 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();
----------------
itrofimow wrote:
I think we can do it in this PR, I can't see a way for a potential need to revert just `throw() -> _NOEXCEPT`.
Should I?
https://github.com/llvm/llvm-project/pull/84707
    
    
More information about the libcxx-commits
mailing list