[llvm] r356524 - Remove MSVC compat hack since the inline keyword was added in 2015
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 19 14:41:00 PDT 2019
Author: rnk
Date: Tue Mar 19 14:40:59 2019
New Revision: 356524
URL: http://llvm.org/viewvc/llvm-project?rev=356524&view=rev
Log:
Remove MSVC compat hack since the inline keyword was added in 2015
Our minimum MSVC toolchain requirement is greater than 2015, so we don't
need this conditional macro anymore. New versions of MSVC apparently
have a header, xkeycheck.h, to check that keywords haven't been
redefined.
Fixes PR41144
Modified:
llvm/trunk/include/llvm-c/Target.h
Modified: llvm/trunk/include/llvm-c/Target.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Target.h?rev=356524&r1=356523&r2=356524&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/Target.h (original)
+++ llvm/trunk/include/llvm-c/Target.h Tue Mar 19 14:40:59 2019
@@ -22,10 +22,6 @@
#include "llvm-c/Types.h"
#include "llvm/Config/llvm-config.h"
-#if defined(_MSC_VER) && !defined(inline)
-#define inline __inline
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
More information about the llvm-commits
mailing list