mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove inline code that was moved to computeDelayedParsingCallback.
This commit is contained in:
@@ -335,13 +335,6 @@ void CompilerInstance::performSema() {
|
||||
}
|
||||
|
||||
std::unique_ptr<DelayedParsingCallbacks> DelayedCB(computeDelayedParsingCallback());
|
||||
|
||||
if (Invocation.isCodeCompletion()) {
|
||||
DelayedCB.reset(
|
||||
new CodeCompleteDelayedCallbacks(SourceMgr.getCodeCompletionLoc()));
|
||||
} else if (Invocation.isDelayedFunctionBodyParsing()) {
|
||||
DelayedCB.reset(new AlwaysDelayedCallbacks);
|
||||
}
|
||||
|
||||
PersistentParserState PersistentState;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user