summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/sequences/array
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2019-05-31 18:35:30 +0000
committerMarshall Clow <mclow.lists@gmail.com>2019-05-31 18:35:30 +0000
commit7fc6a55688c816f5fc1a5481ae7af25be7500356 (patch)
treecac80ad839e171aa372cd03df408af1b90125db6 /libcxx/test/std/containers/sequences/array
parent065bd45da9de57668cfaabe1b851a2e08acea215 (diff)
downloadbcm5719-llvm-7fc6a55688c816f5fc1a5481ae7af25be7500356.tar.gz
bcm5719-llvm-7fc6a55688c816f5fc1a5481ae7af25be7500356.zip
Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended.
llvm-svn: 362252
Diffstat (limited to 'libcxx/test/std/containers/sequences/array')
-rw-r--r--libcxx/test/std/containers/sequences/array/array.cons/default.pass.cpp1
-rw-r--r--libcxx/test/std/containers/sequences/array/array.cons/initializer_list.pass.cpp1
-rw-r--r--libcxx/test/std/containers/sequences/array/array.fill/fill.pass.cpp1
-rw-r--r--libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp1
-rw-r--r--libcxx/test/std/containers/sequences/array/array.tuple/tuple_element.pass.cpp2
-rw-r--r--libcxx/test/std/containers/sequences/array/array.tuple/tuple_size.pass.cpp2
-rw-r--r--libcxx/test/std/containers/sequences/array/array.zero/tested_elsewhere.pass.cpp2
-rw-r--r--libcxx/test/std/containers/sequences/array/contiguous.pass.cpp2
8 files changed, 12 insertions, 0 deletions
diff --git a/libcxx/test/std/containers/sequences/array/array.cons/default.pass.cpp b/libcxx/test/std/containers/sequences/array/array.cons/default.pass.cpp
index daa6a525210..16671e3b5d1 100644
--- a/libcxx/test/std/containers/sequences/array/array.cons/default.pass.cpp
+++ b/libcxx/test/std/containers/sequences/array/array.cons/default.pass.cpp
@@ -15,6 +15,7 @@
// std::array is explicitly allowed to be initialized with A a = { init-list };.
// Disable the missing braces warning for this reason.
+#include "test_macros.h"
#include "disable_missing_braces_warning.h"
struct NoDefault {
diff --git a/libcxx/test/std/containers/sequences/array/array.cons/initializer_list.pass.cpp b/libcxx/test/std/containers/sequences/array/array.cons/initializer_list.pass.cpp
index e85269796fb..110b8a7c20a 100644
--- a/libcxx/test/std/containers/sequences/array/array.cons/initializer_list.pass.cpp
+++ b/libcxx/test/std/containers/sequences/array/array.cons/initializer_list.pass.cpp
@@ -15,6 +15,7 @@
// std::array is explicitly allowed to be initialized with A a = { init-list };.
// Disable the missing braces warning for this reason.
+#include "test_macros.h"
#include "disable_missing_braces_warning.h"
int main(int, char**)
diff --git a/libcxx/test/std/containers/sequences/array/array.fill/fill.pass.cpp b/libcxx/test/std/containers/sequences/array/array.fill/fill.pass.cpp
index db7363ab975..f480d17393d 100644
--- a/libcxx/test/std/containers/sequences/array/array.fill/fill.pass.cpp
+++ b/libcxx/test/std/containers/sequences/array/array.fill/fill.pass.cpp
@@ -15,6 +15,7 @@
// std::array is explicitly allowed to be initialized with A a = { init-list };.
// Disable the missing braces warning for this reason.
+#include "test_macros.h"
#include "disable_missing_braces_warning.h"
int main(int, char**)
diff --git a/libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp b/libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
index d36fcdcc206..d1d8b28f4c9 100644
--- a/libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
+++ b/libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
@@ -19,6 +19,7 @@
// std::array is explicitly allowed to be initialized with A a = { init-list };.
// Disable the missing braces warning for this reason.
+#include "test_macros.h"
#include "disable_missing_braces_warning.h"
int main(int, char**)
diff --git a/libcxx/test/std/containers/sequences/array/array.tuple/tuple_element.pass.cpp b/libcxx/test/std/containers/sequences/array/array.tuple/tuple_element.pass.cpp
index fbf5210f26f..fb7aa7cf02c 100644
--- a/libcxx/test/std/containers/sequences/array/array.tuple/tuple_element.pass.cpp
+++ b/libcxx/test/std/containers/sequences/array/array.tuple/tuple_element.pass.cpp
@@ -13,6 +13,8 @@
#include <array>
#include <type_traits>
+#include "test_macros.h"
+
template <class T>
void test()
{
diff --git a/libcxx/test/std/containers/sequences/array/array.tuple/tuple_size.pass.cpp b/libcxx/test/std/containers/sequences/array/array.tuple/tuple_size.pass.cpp
index dddcbcaff7f..e31407ac5a7 100644
--- a/libcxx/test/std/containers/sequences/array/array.tuple/tuple_size.pass.cpp
+++ b/libcxx/test/std/containers/sequences/array/array.tuple/tuple_size.pass.cpp
@@ -12,6 +12,8 @@
#include <array>
+#include "test_macros.h"
+
template <class T, std::size_t N>
void test()
{
diff --git a/libcxx/test/std/containers/sequences/array/array.zero/tested_elsewhere.pass.cpp b/libcxx/test/std/containers/sequences/array/array.zero/tested_elsewhere.pass.cpp
index 966e603d134..af4ab87048e 100644
--- a/libcxx/test/std/containers/sequences/array/array.zero/tested_elsewhere.pass.cpp
+++ b/libcxx/test/std/containers/sequences/array/array.zero/tested_elsewhere.pass.cpp
@@ -12,6 +12,8 @@
#include <array>
+#include "test_macros.h"
+
int main(int, char**)
{
diff --git a/libcxx/test/std/containers/sequences/array/contiguous.pass.cpp b/libcxx/test/std/containers/sequences/array/contiguous.pass.cpp
index e0ab5b61c44..41a7153e88d 100644
--- a/libcxx/test/std/containers/sequences/array/contiguous.pass.cpp
+++ b/libcxx/test/std/containers/sequences/array/contiguous.pass.cpp
@@ -13,6 +13,8 @@
#include <array>
#include <cassert>
+#include "test_macros.h"
+
template <class C>
void test_contiguous ( const C &c )
{
OpenPOWER on IntegriCloud