[clang] 7affa07 - [Driver] Remove Flags from `cl_Group`. NFC

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 3 23:00:09 PDT 2023


Author: Justin Bogner
Date: 2023-08-03T22:55:22-07:00
New Revision: 7affa07cadd19c1413b3806e5cb6fb95f0a6fa8b

URL: https://github.com/llvm/llvm-project/commit/7affa07cadd19c1413b3806e5cb6fb95f0a6fa8b
DIFF: https://github.com/llvm/llvm-project/commit/7affa07cadd19c1413b3806e5cb6fb95f0a6fa8b.diff

LOG: [Driver] Remove Flags from `cl_Group`. NFC

These flags are redundant since everything in the `cl_Group`
explicitly sets flags anyway. Remove the Flags because they're
confusing and will cause problems with some later refactorings.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index f752a191e5318f..12324dbaf204e5 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -6883,7 +6883,7 @@ def defsym : Separate<["-"], "defsym">,
 // clang-cl Options
 //===----------------------------------------------------------------------===//
 
-def cl_Group : OptionGroup<"<clang-cl options>">, Flags<[CLDXCOption]>,
+def cl_Group : OptionGroup<"<clang-cl options>">,
   HelpText<"CL.EXE COMPATIBILITY OPTIONS">;
 
 def cl_compile_Group : OptionGroup<"<clang-cl compile-only options>">,


        


More information about the cfe-commits mailing list