[clang] [Clang][Sema] Fix crash in __builtin_dump_struct with immediate callables (PR #192880)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Tue May 5 07:27:14 PDT 2026


================
@@ -1344,3 +1344,25 @@ void g() {
     f<int>();
 }
 }  // namespace GH156579
+
+namespace GH192846 {
+// Regression for GH192846: the default TransformOpaqueValueExpr asserts on
+// OVEs bound by __builtin_dump_struct when the printing callback is
+// immediate-escalated. ComplexRemove must not reach that path.
----------------
zyn0217 wrote:

```suggestion
```

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


More information about the cfe-commits mailing list