mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/master' into master-next
This commit is contained in:
@@ -172,6 +172,10 @@ static bool swiftCodeCompleteImpl(
|
||||
return false;
|
||||
}
|
||||
|
||||
// Disable source location resolutions from .swiftsourceinfo file because
|
||||
// they are somewhat heavy operations and are not needed for completions.
|
||||
Invocation.getFrontendOptions().IgnoreSwiftSourceInfo = true;
|
||||
|
||||
const char *Position = InputFile->getBufferStart() + CodeCompletionOffset;
|
||||
std::unique_ptr<llvm::WritableMemoryBuffer> NewBuffer =
|
||||
llvm::WritableMemoryBuffer::getNewUninitMemBuffer(
|
||||
|
||||
Reference in New Issue
Block a user