r188729 - clang-cl: Add /MP[n] to the list of unsupported and ignored flags
Reid Kleckner
reid at kleckner.net
Mon Aug 19 16:52:37 PDT 2013
Author: rnk
Date: Mon Aug 19 18:52:36 2013
New Revision: 188729
URL: http://llvm.org/viewvc/llvm-project?rev=188729&view=rev
Log:
clang-cl: Add /MP[n] to the list of unsupported and ignored flags
This flag tells cl.exe to use up to n processes to compile the provided
source files. I have no plans to implement this in clang.
Modified:
cfe/trunk/include/clang/Driver/CLCompatOptions.td
cfe/trunk/test/Driver/cl-options.c
Modified: cfe/trunk/include/clang/Driver/CLCompatOptions.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/CLCompatOptions.td?rev=188729&r1=188728&r2=188729&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/CLCompatOptions.td (original)
+++ cfe/trunk/include/clang/Driver/CLCompatOptions.td Mon Aug 19 18:52:36 2013
@@ -140,6 +140,7 @@ def _SLASH_GS : CLFlag<"GS">;
def _SLASH_Gy : CLFlag<"Gy">;
def _SLASH_Gy_ : CLFlag<"Gy-">;
def _SLASH_GZ : CLFlag<"GZ">;
+def _SLASH_MP : CLJoined<"MP">;
def _SLASH_RTC : CLJoined<"RTC">;
def _SLASH_w : CLJoined<"w">;
def _SLASH_Za : CLFlag<"Za">;
Modified: cfe/trunk/test/Driver/cl-options.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-options.c?rev=188729&r1=188728&r2=188729&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cl-options.c (original)
+++ cfe/trunk/test/Driver/cl-options.c Mon Aug 19 18:52:36 2013
@@ -102,7 +102,7 @@
// RUN: %clang_cl /Zs /EHsc /Fdfoo /fp:precise /Gd /GL /GL- -- %s 2>&1
// RUN: %clang_cl /Zs /Gm /Gm- /GS /Gy /Gy- /GZ -- %s 2>&1
// RUN: %clang_cl /Zs /RTC1 /wfoo /Zc:wchar_t- -- %s 2>&1
-// RUN: %clang_cl /Zs /ZI /Zi -- %s 2>&1
+// RUN: %clang_cl /Zs /ZI /Zi /MP -- %s 2>&1
// We support -Xclang for forwarding options to cc1.
More information about the cfe-commits
mailing list