From f6db75c39b413bc7c68f6205f2ace5f756eb3258 Mon Sep 17 00:00:00 2001 From: JF Bastien Date: Wed, 14 Aug 2019 17:48:36 +0000 Subject: [PATCH] Don't explicitly check for C++14 MSVC is weird about __cplusplus. The check I added in D66195 confuses it. llvm-svn: 368889 --- llvm/include/llvm/Support/Compiler.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/llvm/include/llvm/Support/Compiler.h b/llvm/include/llvm/Support/Compiler.h index 4deac94..43114ad 100644 --- a/llvm/include/llvm/Support/Compiler.h +++ b/llvm/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. -- 2.7.4