hanchenye-llvm-project/clang-tools-extra/cpp11-migrate
Tareq A. Siraj e0a03c3c64 cpp11-migrate: FileOverrides/Transform refactoring.
This commit include the following changes:
 - SourceOverrides is now a class
   - it simplifies the usage for the Transform class, since now the
     replacements can be applied directly to the file overrides with
     SourceOverrides::applyReplacements().
   - it contains a method applyRewrites() which was previously named
     collectResults() in Transform.cpp. The method has been "optimized"
     a bit to re-use the allocated buffer (std::string::clear() is called).
   - since the class has some logic it's now unit tested
 - Now FileOverrides is a class (not a std::map typedef) and store pointers
   to the SourceOverrides. The reason is that the SourceOverrides can't be
   copied anymore (which was already something to avoid since it's can be a
   quite large object).

Author: Guillaume Papin <guillaume.papin@epitech.eu>

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

llvm-svn: 186161
2013-07-12 14:36:20 +00:00
..
AddOverride cpp11-migrate: Tidying up 2013-07-08 12:17:37 +00:00
Core cpp11-migrate: FileOverrides/Transform refactoring. 2013-07-12 14:36:20 +00:00
LoopConvert cpp11-migrate: Tidying up 2013-07-08 12:17:37 +00:00
ReplaceAutoPtr cpp11-migrate: Tidying up 2013-07-08 12:17:37 +00:00
UseAuto cpp11-migrate: Tidying up 2013-07-08 12:17:37 +00:00
UseNullptr cpp11-migrate: Tidying up 2013-07-08 12:17:37 +00:00
tool cpp11-migrate: FileOverrides/Transform refactoring. 2013-07-12 14:36:20 +00:00
CMakeLists.txt cpp11-migrate: Tidying up 2013-07-08 12:17:37 +00:00
Makefile lib-ified core cpp11-migrate functionality to support unit tests 2013-04-04 20:19:58 +00:00