summaryrefslogtreecommitdiffstats
path: root/libcxx/src
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2015-06-02 22:25:23 +0000
committerMarshall Clow <mclow.lists@gmail.com>2015-06-02 22:25:23 +0000
commitef96861df9a93c5554e4fb8478b7d9449d57c24f (patch)
treeafa2fdef972140c4fe8b84ec656b804ca429ed7a /libcxx/src
parent021cad043a794ae56aab7ddd1d53b571f3a5f020 (diff)
downloadbcm5719-llvm-ef96861df9a93c5554e4fb8478b7d9449d57c24f.tar.gz
bcm5719-llvm-ef96861df9a93c5554e4fb8478b7d9449d57c24f.zip
Move uncaught_exeption() definition inside the #ifdef block like uncaught_exceptions()
llvm-svn: 238879
Diffstat (limited to 'libcxx/src')
-rw-r--r--libcxx/src/exception.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/exception.cpp b/libcxx/src/exception.cpp
index a13a0b9b064..2c16060a758 100644
--- a/libcxx/src/exception.cpp
+++ b/libcxx/src/exception.cpp
@@ -105,9 +105,9 @@ terminate() _NOEXCEPT
#endif // !__EMSCRIPTEN__
#endif // !defined(LIBCXXRT) && !defined(_LIBCPPABI_VERSION)
+#if !defined(LIBCXXRT) && !defined(__GLIBCXX__) && !defined(__EMSCRIPTEN__)
bool uncaught_exception() _NOEXCEPT { return uncaught_exceptions() > 0; }
-#if !defined(LIBCXXRT) && !defined(__GLIBCXX__) && !defined(__EMSCRIPTEN__)
int uncaught_exceptions() _NOEXCEPT
{
#if defined(__APPLE__) || defined(_LIBCPPABI_VERSION)
OpenPOWER on IntegriCloud