mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #38920 from apple/show-cursor-refactorings
[Refactorings] Add cursor refactorings for the start of the range
This commit is contained in:
@@ -404,9 +404,9 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
if (options::Action == RefactoringKind::None) {
|
||||
llvm::SmallVector<RefactoringKind, 32> Kinds;
|
||||
bool RangeStartMayNeedRename = false;
|
||||
collectAvailableRefactorings(SF, Range, RangeStartMayNeedRename, Kinds,
|
||||
{&PrintDiags});
|
||||
bool CollectRangeStartRefactorings = false;
|
||||
collectAvailableRefactorings(SF, Range, CollectRangeStartRefactorings,
|
||||
Kinds, {&PrintDiags});
|
||||
llvm::outs() << "Action begins\n";
|
||||
for (auto Kind : Kinds) {
|
||||
llvm::outs() << getDescriptiveRefactoringKindName(Kind) << "\n";
|
||||
|
||||
Reference in New Issue
Block a user