]> granicus.if.org Git - clang/commitdiff
clang-cl: Silently ignore /d2FastFail flag.
authorNico Weber <nicolasweber@gmx.de>
Tue, 29 Mar 2016 19:41:02 +0000 (19:41 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 29 Mar 2016 19:41:02 +0000 (19:41 +0000)
It's some debugging flag for cl.exe related to how it writes crash dumps.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264774 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 09ea069c1b3c618882f2da1d592950544dd53f78..b2f12c9405929ef6c3f723d1bb74a8d490806008 100644 (file)
@@ -270,6 +270,7 @@ def _SLASH_Fp : CLJoined<"Fp">,
 def _SLASH_analyze_ : CLIgnoredFlag<"analyze-">;
 def _SLASH_bigobj : CLIgnoredFlag<"bigobj">;
 def _SLASH_cgthreads : CLIgnoredJoined<"cgthreads">;
+def _SLASH_d2FastFail : CLIgnoredFlag<"d2FastFail">;
 def _SLASH_d2Zi_PLUS : CLIgnoredFlag<"d2Zi+">;
 def _SLASH_errorReport : CLIgnoredJoined<"errorReport">;
 def _SLASH_Fd : CLIgnoredJoined<"Fd">;
index a3ecfecd6a55df5d3d4fa4ca2b38cfad927e9241..c9e857332d7d892917f5b772f4271b3c77efd40d 100644 (file)
 // RUN:    /bigobj \
 // RUN:    /cgthreads4 \
 // RUN:    /cgthreads8 \
+// RUN:    /d2FastFail \
 // RUN:    /d2Zi+ \
 // RUN:    /errorReport:foo \
 // RUN:    /FC \