[clang] [CIR] Implement support for delete after new in a conditional branch (PR #192544)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 17 12:03:16 PDT 2026


================
@@ -25,6 +25,18 @@ namespace clang::CIRGen {
 
 class CIRGenFunction;
 
+template <class T> struct InvariantValue {
+  using type = T;
+  using saved_type = T;
----------------
erichkeane wrote:

I would suggest simplifying, we can add the complexity later if we need it.

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


More information about the cfe-commits mailing list