mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Add a LLVM_NOEXCEPT to Compiler.h.
This will be needed for the switch to std::error_code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210581 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
387fe1eff4
commit
40b0a148a2
@ -61,6 +61,12 @@
|
|||||||
#define LLVM_MSC_PREREQ(version) 0
|
#define LLVM_MSC_PREREQ(version) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
#define LLVM_NOEXCEPT noexcept
|
||||||
|
#else
|
||||||
|
#define LLVM_NOEXCEPT
|
||||||
|
#endif
|
||||||
|
|
||||||
/// \brief Does the compiler support r-value reference *this?
|
/// \brief Does the compiler support r-value reference *this?
|
||||||
///
|
///
|
||||||
/// Sadly, this is separate from just r-value reference support because GCC
|
/// Sadly, this is separate from just r-value reference support because GCC
|
||||||
|
Loading…
Reference in New Issue
Block a user