[clang] [CIR] Upstream CastOp and scalar conversions (PR #130690)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 11 08:13:02 PDT 2025


================
@@ -36,6 +36,18 @@ class ScalarExprEmitter : public StmtVisitor<ScalarExprEmitter, mlir::Value> {
                     bool ira = false)
       : cgf(cgf), builder(builder), ignoreResultAssign(ira) {}
 
+  //===--------------------------------------------------------------------===//
+  //                               Utilities
+  //===--------------------------------------------------------------------===//
+
+  bool TestAndClearIgnoreResultAssign() {
----------------
erichkeane wrote:

Oh boy this name is a bit of a word-soup :D  This is actually more of an `exchange` in c++ parlance.

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


More information about the cfe-commits mailing list