summaryrefslogtreecommitdiffstats
path: root/clang/lib/Tooling/RefactoringCallbacks.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [tooling] RefactoringCallbacks code cleanupAlexander Shaposhnikov2017-05-121-3/+3
| | | | | | | | | | | | This diff 1. adds missing "explicit" for single argument constructors 2. adds missing std::move in ReplaceNodeWithTemplate constructor Test plan: make check-all Differential revision: https://reviews.llvm.org/D33061 llvm-svn: 302855
* clang/lib/Tooling/RefactoringCallbacks.cpp: Avoid std::errc::bad_message.NAKAMURA Takumi2017-05-101-2/+2
| | | | llvm-svn: 302741
* Add ASTMatchRefactorer and ReplaceNodeWithTemplate to RefactoringCallbacksEric Liu2017-05-101-10/+144
| | | | | | | | | | | | | | | | Summary: This is the first change as part of developing a clang-query based search and replace tool. Reviewers: klimek, bkramer, ioeric, sbenza, jbangert Reviewed By: ioeric, jbangert Subscribers: sbenza, ioeric, cfe-commits Patch by Julian Bangert! Differential Revision: https://reviews.llvm.org/D29621 llvm-svn: 302624
* Use after move bug fixesPiotr Padlewski2016-12-231-8/+12
| | | | | | | | | | | | Summary: Bunch of fixed bugs in Clang after running misc-use-after-move in clang-tidy. Reviewers: rsmith, mboehme Subscribers: cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D27752 llvm-svn: 290424
* Remove deprecated methods ast_matchers::BoundNodes::{getStmtAs,getDeclAs}Alexander Kornienko2016-12-131-4/+4
| | | | llvm-svn: 289543
* 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