mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2024-11-23 11:59:52 +00:00
Fix tests with modules enabled
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@367268 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
20ea9e39b8
commit
b255afb4ac
@ -25,6 +25,7 @@
|
||||
// REQUIRES: verify-support
|
||||
|
||||
// MODULES_DEFINES: _LIBCPP_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE
|
||||
// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
#define _LIBCPP_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE
|
||||
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
// is defined before including <memory>, then auto_ptr will be restored.
|
||||
|
||||
// MODULES_DEFINES: _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
|
||||
// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
#define _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
|
||||
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
// is defined before including <functional>, then they will be restored.
|
||||
|
||||
// MODULES_DEFINES: _LIBCPP_ENABLE_CXX17_REMOVED_BINDERS
|
||||
// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
#define _LIBCPP_ENABLE_CXX17_REMOVED_BINDERS
|
||||
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// binary_negate
|
||||
|
||||
// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
|
||||
#include <functional>
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// not1
|
||||
|
||||
// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
|
||||
#include <functional>
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// not2
|
||||
|
||||
// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
|
||||
#include <functional>
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// unary_negate
|
||||
|
||||
// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
|
||||
#include <functional>
|
||||
|
Loading…
Reference in New Issue
Block a user