@@ -26,7 +26,7 @@ namespace {
2626
2727struct OperationTracker : public OpBuilder ::Listener {
2828 SmallVector<Operation *> insertedOps;
29-
29+
3030 void notifyOperationInserted (Operation *op,
3131 OpBuilder::InsertPoint previous) override {
3232 insertedOps.push_back (op);
@@ -72,8 +72,9 @@ struct TestPointerLikeTypeInterfacePass
7272 OpBuilder &builder);
7373 void testGenFree (Operation *op, Value result, PointerLikeType pointerType,
7474 OpBuilder &builder);
75- void testGenCopy (Operation *srcOp, Operation *destOp, Value srcResult, Value destResult,
76- PointerLikeType pointerType, OpBuilder &builder);
75+ void testGenCopy (Operation *srcOp, Operation *destOp, Value srcResult,
76+ Value destResult, PointerLikeType pointerType,
77+ OpBuilder &builder);
7778
7879 struct PointerCandidate {
7980 Operation *op;
@@ -144,7 +145,8 @@ void TestPointerLikeTypeInterfacePass::runOnOperation() {
144145 // Try copying from each source to each destination
145146 for (const auto &src : sources) {
146147 for (const auto &dest : destinations) {
147- testGenCopy (src.op , dest.op , src.result , dest.result , src.pointerType , builder);
148+ testGenCopy (src.op , dest.op , src.result , dest.result , src.pointerType ,
149+ builder);
148150 }
149151 }
150152 }
@@ -253,12 +255,9 @@ void TestPointerLikeTypeInterfacePass::testGenFree(Operation *op, Value result,
253255 }
254256}
255257
256- void TestPointerLikeTypeInterfacePass::testGenCopy (Operation *srcOp,
257- Operation *destOp,
258- Value srcResult,
259- Value destResult,
260- PointerLikeType pointerType,
261- OpBuilder &builder) {
258+ void TestPointerLikeTypeInterfacePass::testGenCopy (
259+ Operation *srcOp, Operation *destOp, Value srcResult, Value destResult,
260+ PointerLikeType pointerType, OpBuilder &builder) {
262261 Location loc = destOp->getLoc ();
263262
264263 // Create a new builder with the listener and set insertion point
0 commit comments