[clang] [CIR] Represent Cleanups with Cleanup scopes (PR #180276)

Amr Hesham via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 18 12:55:59 PST 2026


================
@@ -98,6 +98,7 @@ void test_array_destructor() {
 // CIR:   }
 
 // LLVM: define{{.*}} void @_Z21test_array_destructorv()
+// LLVM:   %[[ARR_CUR:.*]] = alloca ptr, i64 1
----------------
AmrDeveloper wrote:

Sure, I added it to the test, Thanks

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


More information about the cfe-commits mailing list