Skip to content

Commit 0f09d41

Browse files
committed
[Gardening] Pass resolved cursor/range info by reference
1 parent fc2aa22 commit 0f09d41

File tree

2 files changed

+53
-51
lines changed

2 files changed

+53
-51
lines changed

include/swift/IDE/Refactoring.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ collectAvailableRefactorings(SourceFile *SF, RangeConfig Range,
137137
llvm::ArrayRef<DiagnosticConsumer*> DiagConsumers);
138138

139139
ArrayRef<RefactoringKind>
140-
collectAvailableRefactorings(SourceFile *SF, ResolvedCursorInfo CursorInfo,
140+
collectAvailableRefactorings(SourceFile *SF,
141+
const ResolvedCursorInfo &CursorInfo,
141142
std::vector<RefactoringKind> &Scratch,
142143
bool ExcludeRename);
143144

0 commit comments

Comments
 (0)