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