diff options
-rw-r--r-- | include/clang/Driver/CLCompatOptions.td | 2 | ||||
-rw-r--r-- | test/Driver/cl-options.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Driver/CLCompatOptions.td b/include/clang/Driver/CLCompatOptions.td index 3e0dc2db7d..ce5a435362 100644 --- a/include/clang/Driver/CLCompatOptions.td +++ b/include/clang/Driver/CLCompatOptions.td @@ -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">; diff --git a/test/Driver/cl-options.c b/test/Driver/cl-options.c index d8db081ac8..1fa2ae3914 100644 --- a/test/Driver/cl-options.c +++ b/test/Driver/cl-options.c @@ -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 \ |