r201588 - clang-cl: Parse the /d2Zi+ flag (PR18728)
Hans Wennborg
hans at hanshq.net
Tue Feb 18 09:49:02 PST 2014
Author: hans
Date: Tue Feb 18 11:49:01 2014
New Revision: 201588
URL: http://llvm.org/viewvc/llvm-project?rev=201588&view=rev
Log:
clang-cl: Parse the /d2Zi+ flag (PR18728)
This is an undocumented, but reportedly widely used flag.
We don't support it, but should be able to parse it.
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=201588&r1=201587&r2=201588&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/CLCompatOptions.td (original)
+++ cfe/trunk/include/clang/Driver/CLCompatOptions.td Tue Feb 18 11:49:01 2014
@@ -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">;
Modified: cfe/trunk/test/Driver/cl-options.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-options.c?rev=201588&r1=201587&r2=201588&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cl-options.c (original)
+++ cfe/trunk/test/Driver/cl-options.c Tue Feb 18 11:49:01 2014
@@ -159,6 +159,7 @@
// RUN: /arch:sse2 \
// RUN: /clr:pure \
// RUN: /docname \
+// RUN: /d2Zi+ \
// RUN: /EHsc \
// RUN: /EP \
// RUN: /F \
More information about the cfe-commits
mailing list