Re: [PATCH] D24606: Recommit r281457 "Supports adding insertion around non-insertion replacements".

2016-09-19 Thread Eric Liu via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL281891: Recommit r281457 "Supports adding insertion around non-insertion replacements". (authored by ioeric). Changed prior to commit: https://reviews.llvm.org/D24606?vs=71777&id=71779#t

r281891 - Recommit r281457 "Supports adding insertion around non-insertion replacements".

2016-09-19 Thread Eric Liu via cfe-commits
Author: ioeric Date: Mon Sep 19 03:40:42 2016 New Revision: 281891 URL: http://llvm.org/viewvc/llvm-project?rev=281891&view=rev Log: Recommit r281457 "Supports adding insertion around non-insertion replacements". Summary: Diff to r281457: - add

Re: [PATCH] D24606: Recommit r281457 "Supports adding insertion around non-insertion replacements".

2016-09-19 Thread Daniel Jasper via cfe-commits
djasper accepted this revision. djasper added a comment. This revision is now accepted and ready to land. Looks good. https://reviews.llvm.org/D24606 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listi

Re: [PATCH] D24606: Recommit r281457 "Supports adding insertion around non-insertion replacements".

2016-09-19 Thread Eric Liu via cfe-commits
ioeric added a comment. This patch now only recommits https://reviews.llvm.org/D24515 with an additional test case `CalculateRangesOfInsertionAroundReplacement`. https://reviews.llvm.org/D24606 ___ cfe-commits mailing list cfe-commits@lists.llvm.or

Re: [PATCH] D24606: Recommit r281457 "Supports adding insertion around non-insertion replacements" and fix a bug in getAffectedRanges.

2016-09-19 Thread Eric Liu via cfe-commits
ioeric updated this revision to Diff 71777. ioeric added a comment. - Supports adding insertion around non-insertion replacements. Recommit r281457. - Also add a test case for calculating ranges for replacements with the same offset. https://reviews.llvm.org/D24606 Files: include/clang/Tooli

Re: [PATCH] D24606: Recommit r281457 "Supports adding insertion around non-insertion replacements" and fix a bug in getAffectedRanges.

2016-09-15 Thread Eric Liu via cfe-commits
ioeric updated this revision to Diff 71495. ioeric added a comment. - Update comment in `getAffectedRanges`. https://reviews.llvm.org/D24606 Files: include/clang/Tooling/Core/Replacement.h lib/Tooling/Core/Replacement.cpp unittests/Tooling/RefactoringTest.cpp Index: unittests/Tooling/Ref

r281557 - Revert r281457 "Supports adding insertion around non-insertion replacements."

2016-09-14 Thread Artem Belevich via cfe-commits
Author: tra Date: Wed Sep 14 18:03:06 2016 New Revision: 281557 URL: http://llvm.org/viewvc/llvm-project?rev=281557&view=rev Log: Revert r281457 "Supports adding insertion around non-insertion replacements." Commit was breaking our internal tests. Modified: cfe/trunk/include

r281457 - Supports adding insertion around non-insertion replacements.

2016-09-14 Thread Eric Liu via cfe-commits
Author: ioeric Date: Wed Sep 14 08:04:51 2016 New Revision: 281457 URL: http://llvm.org/viewvc/llvm-project?rev=281457&view=rev Log: Supports adding insertion around non-insertion replacements. Summary: Extend `tooling::Replacements::add()` to support adding order-independent replacements. Two