mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-28 07:17:32 +00:00
Since MSVC 1800 is our lowest common denominator, we don't need an explicit check for it in these macros any longer; NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229333 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -103,8 +103,7 @@
|
|||||||
/// public:
|
/// public:
|
||||||
/// ...
|
/// ...
|
||||||
/// };
|
/// };
|
||||||
#if __has_feature(cxx_deleted_functions) || \
|
#if __has_feature(cxx_deleted_functions) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||||
defined(__GXX_EXPERIMENTAL_CXX0X__) || LLVM_MSC_PREREQ(1800)
|
|
||||||
#define LLVM_DELETED_FUNCTION = delete
|
#define LLVM_DELETED_FUNCTION = delete
|
||||||
#else
|
#else
|
||||||
#define LLVM_DELETED_FUNCTION
|
#define LLVM_DELETED_FUNCTION
|
||||||
@@ -344,7 +343,7 @@
|
|||||||
/// \brief Expands to explicit on compilers which support explicit conversion
|
/// \brief Expands to explicit on compilers which support explicit conversion
|
||||||
/// operators. Otherwise expands to nothing.
|
/// operators. Otherwise expands to nothing.
|
||||||
#if __has_feature(cxx_explicit_conversions) || \
|
#if __has_feature(cxx_explicit_conversions) || \
|
||||||
defined(__GXX_EXPERIMENTAL_CXX0X__) || LLVM_MSC_PREREQ(1800)
|
defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||||
#define LLVM_EXPLICIT explicit
|
#define LLVM_EXPLICIT explicit
|
||||||
#else
|
#else
|
||||||
#define LLVM_EXPLICIT
|
#define LLVM_EXPLICIT
|
||||||
|
Reference in New Issue
Block a user