mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
swift-module-digester: when we have multiple extensions to a single external type, we should synthesize only one type decl node.
This commit is contained in:
@@ -495,7 +495,7 @@ class SwiftDeclCollector: public VisibleDeclConsumer {
|
||||
SDKContext &Ctx;
|
||||
std::vector<std::unique_ptr<llvm::MemoryBuffer>> OwnedBuffers;
|
||||
SDKNode *RootNode;
|
||||
llvm::DenseSet<Decl*> KnownDecls;
|
||||
llvm::SetVector<Decl*> KnownDecls;
|
||||
// Collected and sorted after we get all of them.
|
||||
std::vector<ValueDecl *> ClangMacros;
|
||||
std::set<ExtensionDecl*> HandledExtensions;
|
||||
|
||||
Reference in New Issue
Block a user