2017-03-23 06:41:41 +08:00
|
|
|
// -*- C++ -*-
|
2017-03-23 08:48:59 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
2017-03-23 06:41:41 +08:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is dual licensed under the MIT and the University of Illinois Open
|
|
|
|
// Source Licenses. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef SUPPORT_TEST_WORKAROUNDS_H
|
|
|
|
#define SUPPORT_TEST_WORKAROUNDS_H
|
|
|
|
|
|
|
|
#include "test_macros.h"
|
|
|
|
|
2017-05-11 03:10:49 +08:00
|
|
|
#if defined(TEST_COMPILER_EDG)
|
2017-05-26 01:42:21 +08:00
|
|
|
# define TEST_WORKAROUND_EDG_EXPLICIT_CONSTEXPR // VSO#424280
|
2017-05-11 03:10:49 +08:00
|
|
|
#endif
|
|
|
|
|
2017-03-23 06:41:41 +08:00
|
|
|
#if defined(TEST_COMPILER_C1XX)
|
2017-05-26 01:42:21 +08:00
|
|
|
# define TEST_WORKAROUND_C1XX_BROKEN_IS_TRIVIALLY_COPYABLE // VSO#117743
|
2017-05-11 03:10:49 +08:00
|
|
|
# ifndef _MSC_EXTENSIONS
|
2017-05-26 01:42:21 +08:00
|
|
|
# define TEST_WORKAROUND_C1XX_BROKEN_ZA_CTOR_CHECK // VSO#119998
|
2017-05-11 03:10:49 +08:00
|
|
|
# endif
|
2017-03-23 06:41:41 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // SUPPORT_TEST_WORKAROUNDS_H
|