]> granicus.if.org Git - clang/commitdiff
clang-cl: Parse the /d2Zi+ flag (PR18728)
authorHans Wennborg <hans@hanshq.net>
Tue, 18 Feb 2014 17:49:01 +0000 (17:49 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 18 Feb 2014 17:49:01 +0000 (17:49 +0000)
This is an undocumented, but reportedly widely used flag.
We don't support it, but should be able to parse it.

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

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

index 4f00a267eae887a05a520a8a8631d14d3fb45f5d..edc932ca0c40589c84eddbdb245279bcd9a1db39 100644 (file)
@@ -192,6 +192,7 @@ def _SLASH_AI : CLJoined<"AI">;
 def _SLASH_arch : CLJoined<"arch:">;
 def _SLASH_bigobj : CLFlag<"bigobj">;
 def _SLASH_clr : CLJoined<"clr">;
+def _SLASH_d2Zi_PLUS : CLFlag<"d2Zi+">;
 def _SLASH_doc : CLJoined<"doc">;
 def _SLASH_EH : CLJoined<"EH">;
 def _SLASH_EP : CLFlag<"EP">;
index 4b5b603e261751d9942fa85aa1a9d13cec86ca1b..78a64f5ae18fa68f6a604170b52a0921592978f7 100644 (file)
 // RUN:     /arch:sse2 \
 // RUN:     /clr:pure \
 // RUN:     /docname \
+// RUN:     /d2Zi+ \
 // RUN:     /EHsc \
 // RUN:     /EP \
 // RUN:     /F \