diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-03-08 20:06:01 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-03-08 20:06:01 +0000 |
commit | f1dab6865e955e0a025780f80f64dfc5218e821e (patch) | |
tree | 003d5729fccce8e48908ce05070e0cff98528bd6 | |
parent | 6f8ab3ed89adbadf1e916b62b0c2138e39d16edd (diff) | |
download | external_libcxx-f1dab6865e955e0a025780f80f64dfc5218e821e.tar.gz external_libcxx-f1dab6865e955e0a025780f80f64dfc5218e821e.tar.bz2 external_libcxx-f1dab6865e955e0a025780f80f64dfc5218e821e.zip |
Fix PR32183 - Wrap GCC exception implementation in missing namespace std
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@297306 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | src/support/runtime/exception_glibcxx.ipp | 2 | ||||
-rw-r--r-- | src/support/runtime/exception_pointer_glibcxx.ipp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/support/runtime/exception_glibcxx.ipp b/src/support/runtime/exception_glibcxx.ipp index 365dc40a7..0f78932f6 100644 --- a/src/support/runtime/exception_glibcxx.ipp +++ b/src/support/runtime/exception_glibcxx.ipp @@ -35,4 +35,4 @@ bad_typeid::bad_typeid() _NOEXCEPT { } -} // namespace +} // namespace std diff --git a/src/support/runtime/exception_pointer_glibcxx.ipp b/src/support/runtime/exception_pointer_glibcxx.ipp index 30bd6b61f..9d20dfe48 100644 --- a/src/support/runtime/exception_pointer_glibcxx.ipp +++ b/src/support/runtime/exception_pointer_glibcxx.ipp @@ -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 |