[libcxx] r297306 - Fix PR32183 - Wrap GCC exception implementation in missing namespace std
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 8 12:06:01 PST 2017
Author: ericwf
Date: Wed Mar 8 14:06:01 2017
New Revision: 297306
URL: http://llvm.org/viewvc/llvm-project?rev=297306&view=rev
Log:
Fix PR32183 - Wrap GCC exception implementation in missing namespace std
Modified:
libcxx/trunk/src/support/runtime/exception_glibcxx.ipp
libcxx/trunk/src/support/runtime/exception_pointer_glibcxx.ipp
Modified: libcxx/trunk/src/support/runtime/exception_glibcxx.ipp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/support/runtime/exception_glibcxx.ipp?rev=297306&r1=297305&r2=297306&view=diff
==============================================================================
--- libcxx/trunk/src/support/runtime/exception_glibcxx.ipp (original)
+++ libcxx/trunk/src/support/runtime/exception_glibcxx.ipp Wed Mar 8 14:06:01 2017
@@ -35,4 +35,4 @@ bad_typeid::bad_typeid() _NOEXCEPT
{
}
-} // namespace
+} // namespace std
Modified: libcxx/trunk/src/support/runtime/exception_pointer_glibcxx.ipp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/support/runtime/exception_pointer_glibcxx.ipp?rev=297306&r1=297305&r2=297306&view=diff
==============================================================================
--- libcxx/trunk/src/support/runtime/exception_pointer_glibcxx.ipp (original)
+++ libcxx/trunk/src/support/runtime/exception_pointer_glibcxx.ipp Wed Mar 8 14:06:01 2017
@@ -17,6 +17,8 @@
// stable ABI), and its rethrow_exception(std::__exception_ptr::exception_ptr)
// function.
+namespace std {
+
namespace __exception_ptr
{
@@ -72,3 +74,5 @@ void rethrow_exception(exception_ptr p)
{
rethrow_exception(reinterpret_cast<__exception_ptr::exception_ptr&>(p));
}
+
+} // namespace std
More information about the cfe-commits
mailing list