================
@@ -614,6 +614,8 @@ class ScalarExprEmitter : public
StmtVisitor<ScalarExprEmitter, mlir::Value> {
mlir::Value value;
mlir::Value input;
+ mlir::Location loc = cgf.getLoc(e->getSourceRange());
+ int amount = e->isIncrementOp() ? 1 : -1;
----------------
andykaylor wrote:
I'd be tempted to duplicate this code rather than have it so far from its uses.
https://github.com/llvm/llvm-project/pull/202707
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits