diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2019-05-31 18:35:30 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2019-05-31 18:35:30 +0000 |
commit | 7fc6a55688c816f5fc1a5481ae7af25be7500356 (patch) | |
tree | cac80ad839e171aa372cd03df408af1b90125db6 /libcxx/test/std/containers/sequences/array/array.tuple | |
parent | 065bd45da9de57668cfaabe1b851a2e08acea215 (diff) | |
download | bcm5719-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/array.tuple')
3 files changed, 5 insertions, 0 deletions
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() { |