summaryrefslogtreecommitdiffstats
path: root/clang/test/Refactor/LocalRename/NoSymbolSelectedError.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [refactor] Initial outline of implementation of "extract function" refactoringAlex Lorenz2017-10-241-2/+2
| | | | | | | | | | | | | | | | | | | This commit adds an initial, skeleton outline of the "extract function" refactoring. The extracted function doesn't capture variables / rewrite code yet, it just basically does a simple copy-paste. The following initiation rules are specified: - extraction can only be done for executable code in a function/method/block. This means that you can't extract a global variable initialize into a function right now. - simple literals and references are not extractable. This commit also adds support for full source ranges to clang-refactor's test mode. Differential Revision: https://reviews.llvm.org/D38982 llvm-svn: 316465
* [refactor] allow the use of refactoring diagnosticsAlex Lorenz2017-10-161-0/+8
This commit allows the refactoring library to use its own set of refactoring-specific diagnostics to reports things like initiation errors. Differential Revision: https://reviews.llvm.org/D38772 llvm-svn: 315924
OpenPOWER on IntegriCloud