[clang] [CIR] Upstream Exception CXXTryStmt (PR #162528)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 8 13:27:13 PDT 2025
================
@@ -4296,6 +4202,66 @@ def CIR_AllocExceptionOp : CIR_Op<"alloc.exception"> {
}];
}
+//===----------------------------------------------------------------------===//
+// TryOp
+//===----------------------------------------------------------------------===//
+
+// Represents the unwind region where unwind continues or
+// the program std::terminate's.
+def CIR_CatchUnwind : CIR_UnitAttr<"CatchUnwind", "unwind"> {
----------------
andykaylor wrote:
Is there any reason that these shouldn't be defined in CIRAttrs.td?
https://github.com/llvm/llvm-project/pull/162528
More information about the cfe-commits
mailing list