]> granicus.if.org Git - clang/commit
Adding a vector version of tooling::applyAllReplacements
authorEdwin Vane <edwin.vane@intel.com>
Tue, 13 Aug 2013 17:38:19 +0000 (17:38 +0000)
committerEdwin Vane <edwin.vane@intel.com>
Tue, 13 Aug 2013 17:38:19 +0000 (17:38 +0000)
commitb58cfd93c49727c1d471ce71901502df824556c7
tree51ff50f7ed12847d7a0fdbf91219d28eb31b9429
parent95f0766c1942c8cdc9f913a083ad2bfc4c0c27c9
Adding a vector version of tooling::applyAllReplacements

One day soon, tooling::Replacements will be changed from being implemented as
an std::set to being implemented as an std::vector. Until then, some new code
using vectors of Replacements would enjoy having a version of
applyAllReplacements that takes a vector.

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

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