[clang] [clang] [CodeGen] fix crash when Ty isDependentType in CodeGenFunction::EmitAutoVarAlloca (PR #135643)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 14 10:54:52 PDT 2025
https://github.com/efriedma-quic requested changes to this pull request.
Even if this fixes the crash, the resulting code likely won't work; we need to compute the type to emit correct code.
The underlying issue is probably an issue with template instantiation (clang/lib/Sema). When a template is instantiated, all the depending types are supposed to be transformed into non-dependent types. But there are occasionally bugs where this sort of issue slips through.
Please file a bug with a testcase (see https://llvm.org/docs/HowToSubmitABug.html)
https://github.com/llvm/llvm-project/pull/135643
More information about the cfe-commits
mailing list