[libcxxabi] r295411 - Fix test_exception_storage.pass.cpp in C++17 my re-enabling the unexpected handlers
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 16 20:26:22 PST 2017
Author: ericwf
Date: Thu Feb 16 22:26:22 2017
New Revision: 295411
URL: http://llvm.org/viewvc/llvm-project?rev=295411&view=rev
Log:
Fix test_exception_storage.pass.cpp in C++17 my re-enabling the unexpected handlers
Modified:
libcxxabi/trunk/test/test_exception_storage.pass.cpp
Modified: libcxxabi/trunk/test/test_exception_storage.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/test_exception_storage.pass.cpp?rev=295411&r1=295410&r2=295411&view=diff
==============================================================================
--- libcxxabi/trunk/test/test_exception_storage.pass.cpp (original)
+++ libcxxabi/trunk/test/test_exception_storage.pass.cpp Thu Feb 16 22:26:22 2017
@@ -7,6 +7,10 @@
//
//===----------------------------------------------------------------------===//
+// FIXME: cxa_exception.hpp directly references `std::unexpected` and friends.
+// This breaks this test when compiled in C++17. For now fix this by manually
+// re-enabling the STL functions.
+#define _LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS
#include "../src/config.h"
#include <cstdlib>
More information about the cfe-commits
mailing list