[clang] [llvm] [AArch64] Add ability to list extensions enabled for a target (PR #95805)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 09:06:51 PDT 2024


================
@@ -161,6 +162,39 @@ static int PrintSupportedExtensions(std::string TargetStr) {
   return 0;
 }
 
+static int PrintEnabledExtensions(const TargetOptions& TargetOpts) {
----------------
DavidSpickett wrote:

Is int here just following the local code style or would bool do? Since we only use 0 and 1.

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


More information about the llvm-commits mailing list