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)
llvm-svn: 224201

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

index 281f1d1..6269b7c 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 01e9268..e3017f8 100644 (file)
 // (/Zs is for syntax-only)
 // RUN: %clang_cl /Zs \
 // RUN:    /analyze- \
+// RUN:    /cgthreads4 \
+// RUN:    /cgthreads8 \
 // RUN:    /d2Zi+ \
 // RUN:    /errorReport:foo \
 // RUN:    /FS \