[AST] Intro service lookupImportedSPIs to find direct SPI imports of a module

This commit is contained in:
Alexis Laferrière
2020-02-06 12:28:19 -08:00
parent 3552f800a9
commit 501f458879
8 changed files with 51 additions and 0 deletions

View File

@@ -1110,6 +1110,11 @@ void SerializedASTFile::lookupObjCMethods(
File.lookupObjCMethods(selector, results);
}
void SerializedASTFile::lookupImportedSPIs(const ModuleDecl *importedModule,
SmallVectorImpl<Identifier> &spis) const {
File.lookupImportedSPIs(importedModule, spis);
}
Optional<CommentInfo>
SerializedASTFile::getCommentForDecl(const Decl *D) const {
return File.getCommentForDecl(D);