mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[IDE] Rename CodeCompletion to IDEInspection in cases where the code path no longer exclusively applies to code completion
The code completio infrastructure is also being used for cursor info now, so it should no longer be called code completion. rdar://103251187
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include "swift/Frontend/PrintingDiagnosticConsumer.h"
|
||||
#include "swift/IDE/CodeCompletionCache.h"
|
||||
#include "swift/IDE/CodeCompletionResultPrinter.h"
|
||||
#include "swift/IDETool/CompletionInstance.h"
|
||||
#include "swift/IDETool/IDEInspectionInstance.h"
|
||||
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
@@ -111,7 +111,7 @@ static void swiftCodeCompleteImpl(
|
||||
ParamsResult) {
|
||||
ParamsResult.mapAsync<CodeCompleteResult>(
|
||||
[&](auto &CIParams, auto DeliverTransformed) {
|
||||
Lang.getCompletionInstance()->codeComplete(
|
||||
Lang.getIDEInspectionInstance()->codeComplete(
|
||||
CIParams.Invocation, Args, FileSystem,
|
||||
CIParams.completionBuffer, Offset, CIParams.DiagC,
|
||||
CompletionContext, CIParams.CancellationFlag,
|
||||
|
||||
Reference in New Issue
Block a user