Define LLVM_NOEXCEPT with MSVC 14 CTP 3 or newer
authorReid Kleckner <reid@kleckner.net>
Fri, 31 Oct 2014 23:02:40 +0000 (23:02 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 31 Oct 2014 23:02:40 +0000 (23:02 +0000)
commitfc46c683102eaa4682ea0c244974d94366687ffb
tree3801814689476632c252fbec88e139b6a45ae3f1
parent57c911e4ab8933d3305660c87221839acbd9021f
Define LLVM_NOEXCEPT with MSVC 14 CTP 3 or newer

We have to use _MSC_FULL_VER here as CTP 2 and earlier didn't define
noexcept to my knowledge.

Fixes build error in lib/Support/Error.cpp when inheriting from
std::error_category, which has a noexcept virtual method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221013 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Compiler.h