[PATCH] D158227: [clang] EditedSource::applyRewrites - useless call
Soumi Manna via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 23 07:39:57 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9e150adaea7b: [NFC][clang] EditedSource::applyRewrites - useless call (authored by Manna).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158227/new/
https://reviews.llvm.org/D158227
Files:
clang/lib/Edit/EditedSource.cpp
Index: clang/lib/Edit/EditedSource.cpp
===================================================================
--- clang/lib/Edit/EditedSource.cpp
+++ clang/lib/Edit/EditedSource.cpp
@@ -430,7 +430,7 @@
if (offs == CurEnd) {
StrVec += act.Text;
CurLen += act.RemoveLen;
- CurEnd.getWithOffset(act.RemoveLen);
+ CurEnd = CurEnd.getWithOffset(act.RemoveLen);
continue;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158227.552709.patch
Type: text/x-patch
Size: 408 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230823/a006672a/attachment.bin>
More information about the cfe-commits
mailing list