[clang] [CIR] Implement ctor-try-body rethrow (PR #229436)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 6 14:46:18 PDT 2026


================
@@ -46,12 +104,15 @@ struct HasThings : Base {
 // CIR-NEXT:      cir.call @_Z11side_effectv() : () -> ()
 // CIR-NEXT:      cir.yield
 // CIR-NEXT:    } catch all (%[[CATCH_ARG:.*]]: !cir.eh_token {{.*}}) {
-// CIR-NEXT:      %[[CATCH_TOK:.*]], %[[EX_PTR:.*]] = cir.begin_catch %[[CATCH_ARG]] : !cir.eh_token -> (!cir.catch_token, !cir.ptr<!void>)
+// CIR-NEXT:      %[[CATCH_TOK2:.*]], %[[EX_PTR:.*]] = cir.begin_catch %[[CATCH_ARG]] : !cir.eh_token -> (!cir.catch_token, !cir.ptr<!void>)
----------------
erichkeane wrote:

Urgh, leftover from a debugging session. Reverted this and the 2 below.

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


More information about the cfe-commits mailing list