Skip to content

Commit 855dd6b

Browse files
committed
[clang] EditedSource::applyRewrites - useless call
1 parent b0e0376 commit 855dd6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Edit/EditedSource.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ void EditedSource::applyRewrites(EditsReceiver &receiver,
430430
if (offs == CurEnd) {
431431
StrVec += act.Text;
432432
CurLen += act.RemoveLen;
433-
CurEnd.getWithOffset(act.RemoveLen);
433+
CurEnd = CurEnd.getWithOffset(act.RemoveLen);
434434
continue;
435435
}
436436

0 commit comments

Comments
 (0)