[clang] [clang][NFC] Don't track OpaqueValueExpr in bad conversion sequence (PR #238243)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 3 01:25:24 PST 2026


zyn0217 wrote:

> I'm not super keen on the fragility of this, do we have cases where this leak is causing real problems?

I don't think OpaqueValueExprs are designed to be persistent, and IMO we're trying to prevent future uses (particularly some AI agents from imitating existing examples) that allocate unnecessary things on heap.

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


More information about the cfe-commits mailing list