Commit 2a1c7bde authored by Hans Wennborg's avatar Hans Wennborg
Browse files

Merging r352119:

------------------------------------------------------------------------
r352119 | rnk | 2019-01-24 23:26:51 +0100 (Thu, 24 Jan 2019) | 7 lines

[clang-cl] Ignore space-separated /AI arguments

The /AI flag is for #using directives, which I don't think we support.
This is consistent with how the /I flag is handled by MSVC.  Add a test
for it.

Differential Revision: https://reviews.llvm.org/D57189
------------------------------------------------------------------------

llvm-svn: 355675
parent 2cc470aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -395,7 +395,7 @@ def _SLASH_Zo_ : CLIgnoredFlag<"Zo-">;

// Unsupported:

def _SLASH_AI : CLJoined<"AI">;
def _SLASH_AI : CLJoinedOrSeparate<"AI">;
def _SLASH_Bt : CLFlag<"Bt">;
def _SLASH_Bt_plus : CLFlag<"Bt+">;
def _SLASH_clr : CLJoined<"clr">;
+1 −0
Original line number Diff line number Diff line
@@ -391,6 +391,7 @@
// (/Zs is for syntax-only)
// RUN: %clang_cl /Zs \
// RUN:     /AIfoo \
// RUN:     /AI foo_does_not_exist \
// RUN:     /Bt \
// RUN:     /Bt+ \
// RUN:     /clr:pure \