diff options
author | Howard Hinnant <hhinnant@apple.com> | 2013-08-12 18:38:34 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2013-08-12 18:38:34 +0000 |
commit | f0544c2086a1a592e294f24d62973ce732af33da (patch) | |
tree | ada52136fb9bb9601fe9cbacc7cb7f9f37a90165 /libcxx/include/exception | |
parent | dafc7d9447d8e7d84233e6dcd39e573adbaf4450 (diff) | |
download | bcm5719-llvm-f0544c2086a1a592e294f24d62973ce732af33da.tar.gz bcm5719-llvm-f0544c2086a1a592e294f24d62973ce732af33da.zip |
Nico Rieck: this patch series fixes visibility issues on Windows as explained in <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-August/031214.html>.
llvm-svn: 188192
Diffstat (limited to 'libcxx/include/exception')
-rw-r--r-- | libcxx/include/exception | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/include/exception b/libcxx/include/exception index 37bfc57efbb..cad802e056a 100644 --- a/libcxx/include/exception +++ b/libcxx/include/exception @@ -118,8 +118,8 @@ _LIBCPP_FUNC_VIS bool uncaught_exception() _NOEXCEPT; class _LIBCPP_TYPE_VIS exception_ptr; -exception_ptr current_exception() _NOEXCEPT; -_LIBCPP_NORETURN void rethrow_exception(exception_ptr); +_LIBCPP_FUNC_VIS exception_ptr current_exception() _NOEXCEPT; +_LIBCPP_NORETURN _LIBCPP_FUNC_VIS void rethrow_exception(exception_ptr); class _LIBCPP_TYPE_VIS exception_ptr { @@ -142,8 +142,8 @@ public: bool operator!=(const exception_ptr& __x, const exception_ptr& __y) _NOEXCEPT {return !(__x == __y);} - friend exception_ptr current_exception() _NOEXCEPT; - friend void rethrow_exception(exception_ptr); + friend _LIBCPP_FUNC_VIS exception_ptr current_exception() _NOEXCEPT; + friend _LIBCPP_FUNC_VIS void rethrow_exception(exception_ptr); }; template<class _Ep> |