[libc++] Fix warnings with Clang in C++03

This commit is contained in:
Louis Dionne
2020-04-21 11:02:29 -04:00
parent cd8e9e8fcd
commit b4fb705e77
31 changed files with 87 additions and 2 deletions

View File

@@ -13,6 +13,8 @@
// template <MoveConstructible R, MoveConstructible ... ArgTypes>
// void swap(function<R(ArgTypes...)>&, function<R(ArgTypes...)>&) noexcept;
// This test runs in C++03, but we have deprecated using std::function in C++03.
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS
#include <functional>
#include <cstdlib>