[PATCH] D42207: libcxx: Define set_unexpected, _get_unexpected and __uncaught_exceptions without dllimport.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 16:36:09 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL322794: libcxx: Define set_unexpected, _get_unexpected and __uncaught_exceptions… (authored by pcc, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D42207?vs=130299&id=130313#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D42207

Files:
  libcxx/trunk/src/support/runtime/exception_msvc.ipp


Index: libcxx/trunk/src/support/runtime/exception_msvc.ipp
===================================================================
--- libcxx/trunk/src/support/runtime/exception_msvc.ipp
+++ libcxx/trunk/src/support/runtime/exception_msvc.ipp
@@ -22,11 +22,11 @@
 _LIBCPP_CRT_FUNC terminate_handler __cdecl _get_terminate();
 
 typedef void (__cdecl* unexpected_handler)();
-_LIBCPP_CRT_FUNC unexpected_handler __cdecl set_unexpected(
+unexpected_handler __cdecl set_unexpected(
     unexpected_handler _NewUnexpectedHandler) throw();
-_LIBCPP_CRT_FUNC unexpected_handler __cdecl _get_unexpected();
+unexpected_handler __cdecl _get_unexpected();
 
-_LIBCPP_CRT_FUNC int __cdecl __uncaught_exceptions();
+int __cdecl __uncaught_exceptions();
 }
 
 namespace std {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42207.130313.patch
Type: text/x-patch
Size: 759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180118/0359c605/attachment.bin>


More information about the llvm-commits mailing list