================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits