From 73d5bb8e3ab8fa40065a96d718474052e3a79280 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi <geek4civic@gmail.com>
Date: Thu, 11 Feb 2016 16:43:08 +0000
Subject: [PATCH] Revert r260266 (and r260276), "clang-cl: Enable plugins on
 Windows"

It doesn't work, at least, i686-win32.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260537 91177308-0d34-0410-b5e6-96231b3b80d8
---
 test/Frontend/plugins.c | 1 -
 test/lit.cfg            | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/Frontend/plugins.c b/test/Frontend/plugins.c
index cd3717cd2d5..8117f72fa7a 100644
--- a/test/Frontend/plugins.c
+++ b/test/Frontend/plugins.c
@@ -1,5 +1,4 @@
 // RUN: %clang_cc1 -load %llvmshlibdir/PrintFunctionNames%pluginext -plugin print-fns %s 2>&1 | FileCheck %s
-// RUN: %clang_cl -c -Xclang -load -Xclang %llvmshlibdir/PrintFunctionNames%pluginext -Xclang -plugin -Xclang print-fns -Tc %s 2>&1 | FileCheck %s
 // REQUIRES: plugins, examples
 
 // CHECK: top-level-decl: "x"
diff --git a/test/lit.cfg b/test/lit.cfg
index dddab3ec895..e2166342685 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -196,7 +196,7 @@ if not lit_config.quiet:
 
 # Plugins (loadable modules)
 # TODO: This should be supplied by Makefile or autoconf.
-if sys.platform in ['cygwin']:
+if sys.platform in ['win32', 'cygwin']:
     has_plugins = (config.enable_shared == 1)
 else:
     has_plugins = True
-- 
GitLab