Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libcxx / test / support / test_workarounds.h
blob8417dca9834e631c537b527fd1e2a0368f27d9fd
1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
10 #ifndef SUPPORT_TEST_WORKAROUNDS_H
11 #define SUPPORT_TEST_WORKAROUNDS_H
13 #include "test_macros.h"
15 #if defined(TEST_COMPILER_EDG)
16 # define TEST_WORKAROUND_EDG_EXPLICIT_CONSTEXPR // VSO-424280
17 #endif
19 #ifdef TEST_COMPILER_MSVC
20 # if _MSC_VER < 1927
21 # define TEST_WORKAROUND_MSVC_BROKEN_IS_TRIVIALLY_COPYABLE // VSO-117743
22 # endif
23 # ifndef _MSC_EXTENSIONS
24 # define TEST_WORKAROUND_MSVC_BROKEN_ZA_CTOR_CHECK // VSO-119998
25 # endif
26 #endif
28 #endif // SUPPORT_TEST_WORKAROUNDS_H