diff options
-rw-r--r-- | clang/include/clang/Driver/CLCompatOptions.td | 1 | ||||
-rw-r--r-- | clang/test/Driver/cl-options.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/clang/include/clang/Driver/CLCompatOptions.td b/clang/include/clang/Driver/CLCompatOptions.td index 281f1d1e90d..6269b7cd8f4 100644 --- a/clang/include/clang/Driver/CLCompatOptions.td +++ b/clang/include/clang/Driver/CLCompatOptions.td @@ -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">; diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c index 01e92682f7a..e3017f85895 100644 --- a/clang/test/Driver/cl-options.c +++ b/clang/test/Driver/cl-options.c @@ -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 \ |