Merge pull request #32049 from xymus/spi-unique-imports

[ModuleInterface] Print the SPI attribute only once per group and import
This commit is contained in:
Alexis Laferrière
2020-06-01 11:24:21 -07:00
committed by GitHub
11 changed files with 35 additions and 30 deletions

View File

@@ -368,8 +368,9 @@ public:
SmallVectorImpl<AbstractFunctionDecl *> &results) const override;
virtual void
lookupImportedSPIGroups(const ModuleDecl *importedModule,
SmallVectorImpl<Identifier> &spiGroups) const override;
lookupImportedSPIGroups(
const ModuleDecl *importedModule,
llvm::SmallSetVector<Identifier, 4> &spiGroups) const override;
Optional<CommentInfo> getCommentForDecl(const Decl *D) const override;