Fix PR32183 - Wrap GCC exception implementation in missing namespace std

llvm-svn: 297306
This commit is contained in:
Eric Fiselier 2017-03-08 20:06:01 +00:00
parent fcd208fdb3
commit e05469392e
2 changed files with 5 additions and 1 deletions

View File

@ -35,4 +35,4 @@ bad_typeid::bad_typeid() _NOEXCEPT
{
}
} // namespace
} // namespace std

View File

@ -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