[clang] [clang][Driver] Check the existence of -gen-reproducer=off instead of -fno-crash-diagnostics (PR #244888)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 23 01:10:32 PST 2026
parabola94 wrote:
Thanks for your comment.
> Also, it's not clear to me what effect your change has, as -gen-reproducer=off is already tested
This change has no effect for the clang driver because `-gen-reproducer=off` is handled beforehand (`Driver::maybeGenerateCompilationDiagnostics`). I think there is no test to add.
This change is made for another driver based on the clang driver. It doesn't call the function but `Driver::generateCompilationDiagnostics` directly.
https://github.com/llvm/llvm-project/pull/244888
More information about the cfe-commits
mailing list