[clang] [CIR] Upstream CIR Dialect TryOp with Catch Attrs (PR #162897)

Amr Hesham via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 10 12:25:50 PDT 2025


================
@@ -2878,6 +2878,138 @@ LogicalResult cir::TypeInfoAttr::verify(
   return success();
 }
 
+//===----------------------------------------------------------------------===//
+// TryOp
+//===----------------------------------------------------------------------===//
+
+void cir::TryOp::build(
+    OpBuilder &builder, OperationState &result,
+    function_ref<void(OpBuilder &, Location)> tryBuilder,
+    function_ref<void(OpBuilder &, Location, OperationState &)> catchBuilder) {
----------------
AmrDeveloper wrote:

Done 🫡

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


More information about the cfe-commits mailing list