[libcxx-commits] [PATCH] D62920: Included `test/support/test_workarounds.h` which actually defines `TEST_WORKAROUND_CONSTEXPR_IMPLIES_NOEXCEPT` for variant tests.

Michael Park via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 5 10:46:26 PDT 2019


mpark created this revision.
mpark added a reviewer: EricWF.
Herald added subscribers: libcxx-commits, arphaman, ldionne, christof.
mpark edited the summary of this revision.

Found this through a failure in mpark/variant CI job: https://travis-ci.org/mpark/variant/jobs/541538917.


Repository:
  rCXX libc++

https://reviews.llvm.org/D62920

Files:
  test/std/utilities/variant/variant.get/get_index.pass.cpp
  test/std/utilities/variant/variant.get/get_type.pass.cpp


Index: test/std/utilities/variant/variant.get/get_type.pass.cpp
===================================================================
--- test/std/utilities/variant/variant.get/get_type.pass.cpp
+++ test/std/utilities/variant/variant.get/get_type.pass.cpp
@@ -21,6 +21,7 @@
 // variant<Types...>&& v);
 
 #include "test_macros.h"
+#include "test_workarounds.h"
 #include "variant_test_helpers.hpp"
 #include <cassert>
 #include <type_traits>
Index: test/std/utilities/variant/variant.get/get_index.pass.cpp
===================================================================
--- test/std/utilities/variant/variant.get/get_index.pass.cpp
+++ test/std/utilities/variant/variant.get/get_index.pass.cpp
@@ -27,6 +27,7 @@
 //  variant<Types...>&& v);
 
 #include "test_macros.h"
+#include "test_workarounds.h"
 #include "variant_test_helpers.hpp"
 #include <cassert>
 #include <type_traits>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62920.203203.patch
Type: text/x-patch
Size: 884 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190605/f1765d28/attachment-0001.bin>


More information about the libcxx-commits mailing list