[PATCH] D93375: [clang][driver] Add -ansi option to CompileOnly group

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 28 10:34:35 PST 2020


tbaeder updated this revision to Diff 313872.
tbaeder added reviewers: jansvoboda11, thakis, Bigcheese.
tbaeder added a comment.

Rebased on lastest main branch and added a few more reviewers from git blame'ing the Options.td file


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93375/new/

https://reviews.llvm.org/D93375

Files:
  clang/include/clang/Driver/Options.td


Index: clang/include/clang/Driver/Options.td
===================================================================
--- clang/include/clang/Driver/Options.td
+++ clang/include/clang/Driver/Options.td
@@ -796,7 +796,7 @@
 def Z_Joined : Joined<["-"], "Z">;
 def all__load : Flag<["-"], "all_load">;
 def allowable__client : Separate<["-"], "allowable_client">;
-def ansi : Flag<["-", "--"], "ansi">;
+def ansi : Flag<["-", "--"], "ansi">, Group<CompileOnly_Group>;
 def arch__errors__fatal : Flag<["-"], "arch_errors_fatal">;
 def arch : Separate<["-"], "arch">, Flags<[NoXarchOption]>;
 def arch__only : Separate<["-"], "arch_only">;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93375.313872.patch
Type: text/x-patch
Size: 631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201228/4d1fe28a/attachment.bin>


More information about the cfe-commits mailing list