2017-03-22 22:41:41 +00:00
|
|
|
// -*- C++ -*-
|
2017-03-23 00:48:59 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
2017-03-22 22:41:41 +00:00
|
|
|
//
|
2019-01-19 10:56:40 +00:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2017-03-22 22:41:41 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef SUPPORT_TEST_WORKAROUNDS_H
|
|
|
|
#define SUPPORT_TEST_WORKAROUNDS_H
|
|
|
|
|
|
|
|
#include "test_macros.h"
|
|
|
|
|
2017-05-10 19:10:49 +00:00
|
|
|
#if defined(TEST_COMPILER_EDG)
|
2019-10-15 00:22:38 +00:00
|
|
|
# define TEST_WORKAROUND_EDG_EXPLICIT_CONSTEXPR // VSO-424280
|
2017-05-10 19:10:49 +00:00
|
|
|
#endif
|
|
|
|
|
2021-12-29 15:25:53 -08:00
|
|
|
#ifdef TEST_COMPILER_MSVC
|
2020-06-10 13:55:33 -07:00
|
|
|
# if _MSC_VER < 1927
|
2021-12-29 15:25:53 -08:00
|
|
|
# define TEST_WORKAROUND_MSVC_BROKEN_IS_TRIVIALLY_COPYABLE // VSO-117743
|
2020-06-10 13:55:33 -07:00
|
|
|
# endif
|
2017-05-10 19:10:49 +00:00
|
|
|
# ifndef _MSC_EXTENSIONS
|
2021-12-29 15:25:53 -08:00
|
|
|
# define TEST_WORKAROUND_MSVC_BROKEN_ZA_CTOR_CHECK // VSO-119998
|
2017-05-10 19:10:49 +00:00
|
|
|
# endif
|
2017-03-22 22:41:41 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // SUPPORT_TEST_WORKAROUNDS_H
|