r224201 - clang-cl: ignore /cgthreads (PR21894)
Hans Wennborg
hans at hanshq.net
Sat Dec 13 14:24:16 PST 2014
Author: hans
Date: Sat Dec 13 16:24:16 2014
New Revision: 224201
URL: http://llvm.org/viewvc/llvm-project?rev=224201&view=rev
Log:
clang-cl: ignore /cgthreads (PR21894)
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=224201&r1=224200&r2=224201&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/CLCompatOptions.td (original)
+++ cfe/trunk/include/clang/Driver/CLCompatOptions.td Sat Dec 13 16:24:16 2014
@@ -197,6 +197,7 @@ def _SLASH_TP : CLCompileFlag<"TP">, Hel
// 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">;
Modified: cfe/trunk/test/Driver/cl-options.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-options.c?rev=224201&r1=224200&r2=224201&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cl-options.c (original)
+++ cfe/trunk/test/Driver/cl-options.c Sat Dec 13 16:24:16 2014
@@ -172,6 +172,8 @@
// (/Zs is for syntax-only)
// RUN: %clang_cl /Zs \
// RUN: /analyze- \
+// RUN: /cgthreads4 \
+// RUN: /cgthreads8 \
// RUN: /d2Zi+ \
// RUN: /errorReport:foo \
// RUN: /FS \
More information about the cfe-commits
mailing list