[libcxx] r275748 - Suppress warning in make_from_tuple tests.
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 17 18:52:46 PDT 2016
Author: ericwf
Date: Sun Jul 17 20:52:46 2016
New Revision: 275748
URL: http://llvm.org/viewvc/llvm-project?rev=275748&view=rev
Log:
Suppress warning in make_from_tuple tests.
Modified:
libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp
Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp?rev=275748&r1=275747&r2=275748&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp Sun Jul 17 20:52:46 2016
@@ -22,6 +22,10 @@
#include "test_macros.h"
#include "type_id.h"
+// std::array is explicitly allowed to be initialized with A a = { init-list };.
+// Disable the missing braces warning for this reason.
+#include "disable_missing_braces_warning.h"
+
template <class Tuple>
struct ConstexprConstructibleFromTuple {
template <class ...Args>
More information about the cfe-commits
mailing list