diff options
author | Martin Storsjö <martin@martin.st> | 2022-03-01 22:41:49 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-03-02 10:39:14 +0200 |
commit | ea4c198a0f56b3fe63600384a63c6ccaa0560b56 (patch) | |
tree | a5e7bfef6193567a84b84f3f346bd229b992caf3 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | 17ce5497aa016707b31a2e99a05ec7451ba4014d (diff) | |
download | llvm-ea4c198a0f56b3fe63600384a63c6ccaa0560b56.zip llvm-ea4c198a0f56b3fe63600384a63c6ccaa0560b56.tar.gz llvm-ea4c198a0f56b3fe63600384a63c6ccaa0560b56.tar.bz2 |
[libcxx] [test] Make filesystem tests not rely on libc++ internals
As part of https://reviews.llvm.org/D119036
(506cf6dc048835c598b654e43ed8f723a42e39ba), `-DNOMINMAX` was
dropped from the Windows CI configurations, replaced with a
block with `_LIBCPP_PUSH_MACROS`, `#include <__undef_macros>`
and `_LIBCPP_POP_MACROS` (and
`ADDITIONAL_COMPILE_FLAGS: -DNOMINMAX` left in two tests).
However, this workaround breaks the running the libc++ tests
against a different C++ standard library than libc++, as those
macros and that header are libc++ internals.
Therefore, reinstate `-DNOMINMAX` for clang-cl configurations
and remove the libc++ specific bits in filesystem_test_helper.h.
Differential Revision: https://reviews.llvm.org/D120478
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions