svn commit: r305565 - projects/clang390-import/contrib/libc++/include

Dimitry Andric dim at FreeBSD.org
Wed Sep 7 20:41:09 UTC 2016


Author: dim
Date: Wed Sep  7 20:41:08 2016
New Revision: 305565
URL: https://svnweb.freebsd.org/changeset/base/305565

Log:
  Revert r305496 for now, since jbeich@ found a good upstream fix for the
  Firefox port.

Modified:
  projects/clang390-import/contrib/libc++/include/exception

Modified: projects/clang390-import/contrib/libc++/include/exception
==============================================================================
--- projects/clang390-import/contrib/libc++/include/exception	Wed Sep  7 20:36:13 2016	(r305564)
+++ projects/clang390-import/contrib/libc++/include/exception	Wed Sep  7 20:41:08 2016	(r305565)
@@ -80,6 +80,10 @@ template <class E> void rethrow_if_neste
 #include <__config>
 #include <cstddef>
 #include <type_traits>
+#if defined(_LIBCPP_NO_EXCEPTIONS)
+#include <cstdio>
+#include <cstdlib>
+#endif
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #pragma GCC system_header
@@ -251,11 +255,6 @@ rethrow_if_nested(const _Ep&, typename e
 
 }  // std
 
-#if defined(_LIBCPP_NO_EXCEPTIONS)
-#include <cstdio>
-#include <cstdlib>
-#endif
-
 _LIBCPP_BEGIN_NAMESPACE_STD
 
 template <class _Exception>


More information about the svn-src-projects mailing list