mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SourceKit] Pass ResolvedCursorInfo as shared pointer instead of by value
This allows us to model the `ResolvedCursorInfo` types as a proper type hierarchy instead of having to store all values in the base `ResolvedCursorInfo` type. rdar://102853071
This commit is contained in:
@@ -136,7 +136,7 @@ void collectAvailableRefactorings(
|
||||
llvm::SmallVectorImpl<RefactoringKind> &Kinds,
|
||||
llvm::ArrayRef<DiagnosticConsumer *> DiagConsumers);
|
||||
|
||||
void collectAvailableRefactorings(const ResolvedCursorInfo &CursorInfo,
|
||||
void collectAvailableRefactorings(ResolvedCursorInfoPtr CursorInfo,
|
||||
llvm::SmallVectorImpl<RefactoringKind> &Kinds,
|
||||
bool ExcludeRename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user