craig.topper added inline comments.
================ Comment at: clang/lib/Driver/Driver.cpp:4236 + + // Use the -march=help flag as the dummy input to cc1. + Actions.clear(); ---------------- 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? 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