]> granicus.if.org Git - clang/commit
Introduce Replacement deduplication and conflict detection function
authorEdwin Vane <edwin.vane@intel.com>
Thu, 8 Aug 2013 13:31:14 +0000 (13:31 +0000)
committerEdwin Vane <edwin.vane@intel.com>
Thu, 8 Aug 2013 13:31:14 +0000 (13:31 +0000)
commitd5692dbfeb97ed2e7ff11bca26059fa735e1b308
tree248ea17c70e78a29cb8fb71ccb9fb79974cee5ed
parent1e9fdc1a8b090c2c419c64e429c3f6595e86bae9
Introduce Replacement deduplication and conflict detection function

Summary:
This patch adds tooling::deduplicate() which removes duplicates from and
looks for conflicts in a vector of Replacements.

Differential Revision: http://llvm-reviews.chandlerc.com/D1314

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