MaskRay added inline comments.

================
Comment at: clang/lib/Driver/Driver.cpp:4236
+
+    // Use the -march=help flag as the dummy input to cc1.
+    Actions.clear();
----------------
craig.topper wrote:
> MaskRay wrote:
> > Why is the code needed? Can --print-supported-extensions reuse the approach 
> > of `OPT_print_supported_cpus`?
> @MaskRay are you just asking to use the same block of code for both cases?
Yes, this should reuse some code with the `OPT_print_supported_cpus` handler.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146054

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to