[libcxx][test] Add missing includes and suppress warnings

... from testing with MSVC's STL. Mostly truncation warnings and variables that are only used in `LIBCPP_ASSERT`.

Differential Revision: https://reviews.llvm.org/D116878
This commit is contained in:
Casey Carter
2021-12-29 14:06:25 -08:00
parent d393ce3b3e
commit cb71d77cc8
30 changed files with 129 additions and 103 deletions

View File

@@ -13,6 +13,7 @@
// template<class Operation>
// void resize_and_overwrite(size_type n, Operation op)
#include <algorithm>
#include <cassert>
#include <string>