From: Hans Wennborg Date: Wed, 17 Apr 2019 10:05:58 +0000 (+0000) Subject: clang-cl: Parse /openmp:experimental X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e3e1eb34ca2f0fb96b8b238a07e3a6e4644bfb4;p=clang clang-cl: Parse /openmp:experimental It was added to the MS docs recently here: https://github.com/MicrosoftDocs/cpp-docs/commit/3951085ab722fbb488ca40864f4a0553f7b71855 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358570 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/CLCompatOptions.td b/include/clang/Driver/CLCompatOptions.td index de1f761206..6fb91fd636 100644 --- a/include/clang/Driver/CLCompatOptions.td +++ b/include/clang/Driver/CLCompatOptions.td @@ -428,6 +428,7 @@ def _SLASH_kernel : CLFlag<"kernel">; def _SLASH_LN : CLFlag<"LN">; def _SLASH_MP : CLJoined<"MP">; def _SLASH_openmp : CLFlag<"openmp">; +def _SLASH_openmp_experimental : CLFlag<"openmp:experimental">; def _SLASH_Qfast_transcendentals : CLFlag<"Qfast_transcendentals">; def _SLASH_QIfist : CLFlag<"QIfist">; def _SLASH_Qimprecise_fwaits : CLFlag<"Qimprecise_fwaits">; diff --git a/test/Driver/cl-options.c b/test/Driver/cl-options.c index e69328d595..c40f7d301d 100644 --- a/test/Driver/cl-options.c +++ b/test/Driver/cl-options.c @@ -442,6 +442,7 @@ // RUN: /o foo.obj \ // RUN: /ofoo.obj \ // RUN: /openmp \ +// RUN: /openmp:experimental \ // RUN: /Qfast_transcendentals \ // RUN: /QIfist \ // RUN: /Qimprecise_fwaits \