[PATCH] D107503: [clang][Rewriter] patch to fix bug with ReplaceText erasing too many characters when text has been inserted before the replace location. Seehttps://llvm.discourse.group/t/possible-bug-in-clang-rewriter-clang-rewritebuffer-and-or-clang...

Alister Johnson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 4 14:52:07 PDT 2021


ajohnson-uoregon created this revision.
ajohnson-uoregon added reviewers: jdoerfert, rsmith, klimek.
ajohnson-uoregon requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

...-rewriterope/3970

[clang][Rewriter] split test for replace after insert to be more understandable and also a fix to make the test correct


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107503

Files:
  clang/include/clang/Rewrite/Core/Rewriter.h
  clang/lib/Rewrite/Rewriter.cpp
  clang/unittests/Rewrite/RewriterTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107503.364255.patch
Type: text/x-patch
Size: 6771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210804/a1dc444c/attachment.bin>


More information about the cfe-commits mailing list