Skip to content

Commit 64dbd64

Browse files
committed
[clang-cl] Parse /await:strict, new in MSVC 16.10
1 parent a0086ad commit 64dbd64

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6200,6 +6200,7 @@ def _SLASH_Zo_ : CLIgnoredFlag<"Zo-">;
62006200
// Unsupported:
62016201

62026202
def _SLASH_await : CLFlag<"await">;
6203+
def _SLASH_await_COLON : CLJoined<"await:">;
62036204
def _SLASH_constexpr : CLJoined<"constexpr:">;
62046205
def _SLASH_AI : CLJoinedOrSeparate<"AI">;
62056206
def _SLASH_Bt : CLFlag<"Bt">;

clang/test/Driver/cl-options.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@
420420
// (/Zs is for syntax-only)
421421
// RUN: %clang_cl /Zs \
422422
// RUN: /await \
423+
// RUN: /await:strict \
423424
// RUN: /constexpr:depth1000 /constexpr:backtrace1000 /constexpr:steps1000 \
424425
// RUN: /AIfoo \
425426
// RUN: /AI foo_does_not_exist \

0 commit comments

Comments
 (0)