[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

@@ -22,6 +22,9 @@
// template <MoveConstructible R, MoveConstructible ... ArgTypes>
// bool operator!=(nullptr_t, const function<R(ArgTypes...)>&);
// 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 <cassert>