aboutsummaryrefslogtreecommitdiff
path: root/libcxx
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-07-18 01:52:46 +0000
committerEric Fiselier <eric@efcs.ca>2016-07-18 01:52:46 +0000
commit1447da3383b8fba6116bb8fdbc0dba15e0e42312 (patch)
tree2e3dbfdb8987017e82556bc7f715306952f8cfdc /libcxx
parente33579072d8d8a97d029fc136314f642105c080a (diff)
downloadllvm-1447da3383b8fba6116bb8fdbc0dba15e0e42312.zip
llvm-1447da3383b8fba6116bb8fdbc0dba15e0e42312.tar.gz
llvm-1447da3383b8fba6116bb8fdbc0dba15e0e42312.tar.bz2
Suppress warning in make_from_tuple tests.
llvm-svn: 275748
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp
index 6d5cc2b..143ae19 100644
--- a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp
+++ b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp
@@ -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>