mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit] Add a request kind to notify dependencies are updated
This commit is contained in:
@@ -303,6 +303,10 @@ void SwiftLangSupport::globalConfigurationUpdated(
|
||||
configureCompletionInstance(CompletionInst, Config);
|
||||
}
|
||||
|
||||
void SwiftLangSupport::dependencyUpdated() {
|
||||
CompletionInst->markCachedCompilerInstanceShouldBeInvalidated();
|
||||
}
|
||||
|
||||
UIdent SwiftLangSupport::getUIDForDecl(const Decl *D, bool IsRef) {
|
||||
return UIdentVisitor(IsRef).visit(const_cast<Decl*>(D));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user