From: JF Bastien Date: Wed, 14 Aug 2019 17:48:36 +0000 (+0000) Subject: Don't explicitly check for C++14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97ee8312255358eb2ee13ae267631529759c5eb5;p=llvm Don't explicitly check for C++14 MSVC is weird about __cplusplus. The check I added in D66195 confuses it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368889 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h index 4deac94f588..43114ad3a43 100644 --- a/include/llvm/Support/Compiler.h +++ b/include/llvm/Support/Compiler.h @@ -43,12 +43,6 @@ # define __has_builtin(x) 0 #endif -#ifdef __cplusplus -# if __cplusplus < 201402L -# error Expected C++14 or later. -# endif -#endif - /// \macro LLVM_GNUC_PREREQ /// Extend the default __GNUC_PREREQ even if glibc's features.h isn't /// available.