[clang] [Clang] Tolerate constant evaluation failure when transforming SubstNonTypeTemplateParmExpr in unevaluated contexts (PR #196791)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Sun May 10 12:03:34 PDT 2026


https://github.com/mizvekov commented:

So this expression has been transformed twice, first when checking the template arguments for the concept/template specialization, and then in the second time for the SubstNonTypeTemplateParmExpr transform.

Why does it fail the second time but not the first? Supposedly the first time around it was also an Unevaluated context. Have we messed up the contexts somehow?



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


More information about the cfe-commits mailing list