================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits