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.

llvm-svn: 188729
This commit is contained in:
Reid Kleckner 2013-08-19 23:52:36 +00:00
parent 0c5c01aa4a
commit a04cdbb97c
2 changed files with 2 additions and 1 deletions

View File

@ -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">;

View File

@ -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.