r323330 - clang-cl: Parse /permissive-, /Bt, Bt+ (PR32672)

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 24 07:41:26 PST 2018


(see also this thread for some prior discussion on /permissive-:
https://marc.info/?t=149304608500003&r=1&w=2 Ignoring seems like a good
thing to do for now.)

On Wed, Jan 24, 2018 at 10:18 AM, Hans Wennborg via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> Author: hans
> Date: Wed Jan 24 07:18:12 2018
> New Revision: 323330
>
> URL: http://llvm.org/viewvc/llvm-project?rev=323330&view=rev
> Log:
> clang-cl: Parse /permissive-, /Bt, Bt+ (PR32672)
>
> Modified:
>     cfe/trunk/include/clang/Driver/CLCompatOptions.td
>     cfe/trunk/test/Driver/cl-options.c
>
> Modified: cfe/trunk/include/clang/Driver/CLCompatOptions.td
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/
> clang/Driver/CLCompatOptions.td?rev=323330&r1=323329&r2=323330&view=diff
> ============================================================
> ==================
> --- cfe/trunk/include/clang/Driver/CLCompatOptions.td (original)
> +++ cfe/trunk/include/clang/Driver/CLCompatOptions.td Wed Jan 24 07:18:12
> 2018
> @@ -326,6 +326,7 @@ def _SLASH_kernel_ : CLIgnoredFlag<"kern
>  def _SLASH_nologo : CLIgnoredFlag<"nologo">;
>  def _SLASH_Og : CLIgnoredFlag<"Og">;
>  def _SLASH_openmp_ : CLIgnoredFlag<"openmp-">;
> +def _SLASH_permissive_ : CLIgnoredFlag<"permissive-">;
>  def _SLASH_RTC : CLIgnoredJoined<"RTC">;
>  def _SLASH_sdl : CLIgnoredFlag<"sdl">;
>  def _SLASH_sdl_ : CLIgnoredFlag<"sdl-">;
> @@ -346,6 +347,8 @@ def _SLASH_Zo_ : CLIgnoredFlag<"Zo-">;
>  // Unsupported:
>
>  def _SLASH_AI : CLJoined<"AI">;
> +def _SLASH_Bt : CLFlag<"Bt">;
> +def _SLASH_Bt_plus : CLFlag<"Bt+">;
>  def _SLASH_clr : CLJoined<"clr">;
>  def _SLASH_doc : CLJoined<"doc">;
>  def _SLASH_FA_joined : CLJoined<"FA">;
>
> Modified: cfe/trunk/test/Driver/cl-options.c
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/
> cl-options.c?rev=323330&r1=323329&r2=323330&view=diff
> ============================================================
> ==================
> --- cfe/trunk/test/Driver/cl-options.c (original)
> +++ cfe/trunk/test/Driver/cl-options.c Wed Jan 24 07:18:12 2018
> @@ -344,6 +344,7 @@
>  // RUN:    /kernel- \
>  // RUN:    /nologo \
>  // RUN:    /openmp- \
> +// RUN:    /permissive- \
>  // RUN:    /RTC1 \
>  // RUN:    /sdl \
>  // RUN:    /sdl- \
> @@ -376,6 +377,8 @@
>  // (/Zs is for syntax-only)
>  // RUN: %clang_cl /Zs \
>  // RUN:     /AIfoo \
> +// RUN:     /Bt \
> +// RUN:     /Bt+ \
>  // RUN:     /clr:pure \
>  // RUN:     /docname \
>  // RUN:     /EHsc \
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180124/3a0bd93b/attachment.html>


More information about the cfe-commits mailing list