[PATCH] D146054: [RISCV] Add --print-supported-extensions support

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 30 15:37:34 PDT 2023


MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/include/clang/Driver/Options.td:4586
+def print_supported_extensions : Flag<["-", "--"], "print-supported-extensions">,
+  Group<CompileOnly_Group>, Flags<[CC1Option, CoreOption]>,
+  HelpText<"Print supported extensions for RISC-V">,
----------------
CC1Option/CoreOption has been removed. Please rebase. `Visibility<[ClangOption, CC1Option, CLOption]>,`

Remove `Group<CompileOnly_Group>`. We don't need a workaround to claim the option in the case of `clang -xxx a.o`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146054



More information about the cfe-commits mailing list