mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
[Support] Update MSVC compiler support in Compiler.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
be2afb6408
commit
235c022296
@ -81,7 +81,8 @@
|
|||||||
|
|
||||||
/// LLVM_FINAL - Expands to 'final' if the compiler supports it.
|
/// LLVM_FINAL - Expands to 'final' if the compiler supports it.
|
||||||
/// Use to mark classes or virtual methods as final.
|
/// Use to mark classes or virtual methods as final.
|
||||||
#if (__has_feature(cxx_override_control))
|
#if __has_feature(cxx_override_control) \
|
||||||
|
|| (defined(_MSC_VER) && _MSC_VER >= 1700)
|
||||||
#define LLVM_FINAL final
|
#define LLVM_FINAL final
|
||||||
#else
|
#else
|
||||||
#define LLVM_FINAL
|
#define LLVM_FINAL
|
||||||
@ -89,7 +90,8 @@
|
|||||||
|
|
||||||
/// LLVM_OVERRIDE - Expands to 'override' if the compiler supports it.
|
/// LLVM_OVERRIDE - Expands to 'override' if the compiler supports it.
|
||||||
/// Use to mark virtual methods as overriding a base class method.
|
/// Use to mark virtual methods as overriding a base class method.
|
||||||
#if (__has_feature(cxx_override_control))
|
#if __has_feature(cxx_override_control) \
|
||||||
|
|| (defined(_MSC_VER) && _MSC_VER >= 1700)
|
||||||
#define LLVM_OVERRIDE override
|
#define LLVM_OVERRIDE override
|
||||||
#else
|
#else
|
||||||
#define LLVM_OVERRIDE
|
#define LLVM_OVERRIDE
|
||||||
|
Loading…
Reference in New Issue
Block a user