From: NAKAMURA Takumi Date: Mon, 21 Jan 2013 00:30:31 +0000 (+0000) Subject: Support/Compiler.h: MSC1600, aka VS2010, is not C++11-ready. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f3c437b167a98cbe47cace318989f1807b523cd5;p=oota-llvm.git Support/Compiler.h: MSC1600, aka VS2010, is not C++11-ready. LLVM_HAS_CXX11_TYPETRAITS -- std::is_constructible LLVM_HAS_CXX11_STDLIB -- std::unique_ptr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172997 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h index 2d49d4caf49..96af756dde3 100644 --- a/include/llvm/Support/Compiler.h +++ b/include/llvm/Support/Compiler.h @@ -52,7 +52,7 @@ /// * is_constructible /// * etc... #if defined(__GXX_EXPERIMENTAL_CXX0X__) \ - || (defined(_MSC_VER) && _MSC_VER >= 1600) + || (defined(_MSC_VER) && _MSC_VER >= 1700) #define LLVM_HAS_CXX11_TYPETRAITS 1 #else #define LLVM_HAS_CXX11_TYPETRAITS 0 @@ -63,7 +63,7 @@ /// /// Implies LLVM_HAS_RVALUE_REFERENCES, LLVM_HAS_CXX11_TYPETRAITS #if defined(__GXX_EXPERIMENTAL_CXX0X__) \ - || (defined(_MSC_VER) && _MSC_VER >= 1600) + || (defined(_MSC_VER) && _MSC_VER >= 1700) #define LLVM_HAS_CXX11_STDLIB 1 #else #define LLVM_HAS_CXX11_STDLIB 0