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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188729 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/clang/Driver/CLCompatOptions.td b/include/clang/Driver/CLCompatOptions.td
index 083686d..b52e662 100644
--- a/include/clang/Driver/CLCompatOptions.td
+++ b/include/clang/Driver/CLCompatOptions.td
@@ -140,6 +140,7 @@
 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">;
diff --git a/test/Driver/cl-options.c b/test/Driver/cl-options.c
index 14c3c07..3eee634 100644
--- a/test/Driver/cl-options.c
+++ b/test/Driver/cl-options.c
@@ -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.