Skip to content

Commit 6fe637c

Browse files
committed
clang-cl: Parse /openmp:experimental
It was added to the MS docs recently here: MicrosoftDocs/cpp-docs@3951085 llvm-svn: 358570
1 parent a364d59 commit 6fe637c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

clang/include/clang/Driver/CLCompatOptions.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ def _SLASH_kernel : CLFlag<"kernel">;
428428
def _SLASH_LN : CLFlag<"LN">;
429429
def _SLASH_MP : CLJoined<"MP">;
430430
def _SLASH_openmp : CLFlag<"openmp">;
431+
def _SLASH_openmp_experimental : CLFlag<"openmp:experimental">;
431432
def _SLASH_Qfast_transcendentals : CLFlag<"Qfast_transcendentals">;
432433
def _SLASH_QIfist : CLFlag<"QIfist">;
433434
def _SLASH_Qimprecise_fwaits : CLFlag<"Qimprecise_fwaits">;

clang/test/Driver/cl-options.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@
442442
// RUN: /o foo.obj \
443443
// RUN: /ofoo.obj \
444444
// RUN: /openmp \
445+
// RUN: /openmp:experimental \
445446
// RUN: /Qfast_transcendentals \
446447
// RUN: /QIfist \
447448
// RUN: /Qimprecise_fwaits \

0 commit comments

Comments
 (0)