[clang] [clang] Enable descriptions for --print-supported-extensions (PR #66715)

Balint Cristian via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 20 02:33:42 PDT 2023


================
@@ -22,7 +23,8 @@ struct RISCVExtensionInfo {
   unsigned MinorVersion;
 };
 
-void riscvExtensionsHelp();
+void getAllExtensions(StringMap<RISCVExtensionInfo> &Features);
----------------
cbalint13 wrote:

I would leave it.

It's fine for endusers to have an API with an accessor to the *full* list of what RISCV have.
Whole mine effort here started with lack of accessor to exactly such thing: https://github.com/llvm/llvm-project/pull/66582



https://github.com/llvm/llvm-project/pull/66715


More information about the cfe-commits mailing list