================
@@ -5134,6 +5134,34 @@ def CIR_TryOp : CIR_Op<"try",[
let hasLLVMLowering = false;
}
+//===----------------------------------------------------------------------===//
+// CatchParamOp
+//===----------------------------------------------------------------------===//
+
+def CIR_CatchParamOp : CIR_Op<"catch_param", [HasParent<"cir::TryOp">]> {
+ let summary = "Represents the catch clause formal parameter";
+ let description = [{
+ The `cir.catch_param` used to retrieves the exception object inside
----------------
andykaylor wrote:
```suggestion
The `cir.catch_param` is used to retrieves the exception object inside
```
https://github.com/llvm/llvm-project/pull/165110
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits