]> granicus.if.org Git - clang/commit
Fixing a conflict detection bug in tooling::deduplicate
authorEdwin Vane <edwin.vane@intel.com>
Tue, 13 Aug 2013 16:26:44 +0000 (16:26 +0000)
committerEdwin Vane <edwin.vane@intel.com>
Tue, 13 Aug 2013 16:26:44 +0000 (16:26 +0000)
commit95f0766c1942c8cdc9f913a083ad2bfc4c0c27c9
tree41eb8af4a513f19b328cec3e80313feb989ef55a
parent99662a156055de9f46b3cababbf7032e68ed961b
Fixing a conflict detection bug in tooling::deduplicate

If a Replacment is contained within the conflict range being built, the
conflict range would be erroneously shortened. Now fixed. Tests updated to
catch this case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188287 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Tooling/Refactoring.cpp
unittests/Tooling/RefactoringTest.cpp