]> granicus.if.org Git - clang/commitdiff
clang-cl: ignore /cgthreads (PR21894)
authorHans Wennborg <hans@hanshq.net>
Sat, 13 Dec 2014 22:24:16 +0000 (22:24 +0000)
committerHans Wennborg <hans@hanshq.net>
Sat, 13 Dec 2014 22:24:16 +0000 (22:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224201 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/CLCompatOptions.td
test/Driver/cl-options.c

index 281f1d1e90d156c0c94ca0f36831880f1bd7efa4..6269b7cd8f4e26673e319064efe026c9e999a96c 100644 (file)
@@ -197,6 +197,7 @@ def _SLASH_TP : CLCompileFlag<"TP">, HelpText<"Treat all source files as C++">;
 // Ignored:
 
 def _SLASH_analyze_ : CLIgnoredFlag<"analyze-">;
+def _SLASH_cgthreads : CLIgnoredJoined<"cgthreads">;
 def _SLASH_d2Zi_PLUS : CLIgnoredFlag<"d2Zi+">;
 def _SLASH_errorReport : CLIgnoredJoined<"errorReport">;
 def _SLASH_FS : CLIgnoredFlag<"FS">, HelpText<"Force synchronous PDB writes">;
index 01e92682f7ae036b4712b895bc56f2ba63ea9fba..e3017f85895f02accc1795120855ae08c35c6b25 100644 (file)
 // (/Zs is for syntax-only)
 // RUN: %clang_cl /Zs \
 // RUN:    /analyze- \
+// RUN:    /cgthreads4 \
+// RUN:    /cgthreads8 \
 // RUN:    /d2Zi+ \
 // RUN:    /errorReport:foo \
 // RUN:    /FS \