[clang] [CIR] Add nothrow attribute to the call operation (PR #145178)

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 2 10:09:04 PDT 2025


================
@@ -662,13 +665,17 @@ static void printCallCommon(mlir::Operation *op,
   }
   printer << "(" << ops << ")";
 
+  if (isNothrow)
+    printer << " nothrow";
----------------
bcardosolopes wrote:

Fair, this should go away if we end up using a tablegen based printer/parser at some point.

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


More information about the cfe-commits mailing list