summaryrefslogtreecommitdiffstats
path: root/clang/lib/Tooling/RefactoringCallbacks.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Implement tooling::Replacements as a class.Eric Liu2016-08-011-8/+30
| | | | | | | | | | | | | | | | | | | Summary: - Implement clang::tooling::Replacements as a class to provide interfaces to control how replacements for a single file are combined and provide guarantee on the order of replacements being applied. - tooling::Replacements only contains replacements for the same file now. Use std::map<std::string, tooling::Replacements> to represent multi-file replacements. - Error handling for the interface change will be improved in followup patches. Reviewers: djasper, klimek Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D21748 llvm-svn: 277335
* Finishing the move of RefactoringCallbacks and fixing the correspondingDaniel Jasper2012-07-171-11/+14
| | | | | | buildbot failures. llvm-svn: 160355
* Move RefactoringCallbacks to Tooling to avoid dependency fromDaniel Jasper2012-07-171-0/+78
ASTMatchers (lower level abstraction) to Tooling (higher level abstraction). llvm-svn: 160351
OpenPOWER on IntegriCloud