[libcxx] Add missing <cstddef> includes in tests
authorLouis Dionne <ldionne@apple.com>
Mon, 19 Nov 2018 17:39:50 +0000 (17:39 +0000)
committerLouis Dionne <ldionne@apple.com>
Mon, 19 Nov 2018 17:39:50 +0000 (17:39 +0000)
commitc019b30ac2fde66b9b2f40dc019cb02b9ac2b61c
treedb26776ad925e5f9faff358df9bc4824f4d7210b
parent054f8101f11810600a862ef310209afd98b7f0df
[libcxx] Add missing <cstddef> includes in tests

Some tests use type std::max_align_t, but don't include <cstddef> header
directly. As a result, these tests won't compile against some conformant
libraries.

Reviewed as https://reviews.llvm.org/D54645.
Thanks to Andrey Maksimov for the patch.

llvm-svn: 347232
libcxx/test/std/containers/sequences/array/array.data/data.pass.cpp
libcxx/test/std/containers/sequences/array/array.data/data_const.pass.cpp
libcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.pass.cpp