mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Serialize decls with _specialize(exported:true, target: somefunc(_:), ...) in a list for fast lookup
rdar://71430641
This commit is contained in:
@@ -792,6 +792,11 @@ void ModuleDecl::getTopLevelDecls(SmallVectorImpl<Decl*> &Results) const {
|
||||
FORWARD(getTopLevelDecls, (Results));
|
||||
}
|
||||
|
||||
void ModuleDecl::getExportedPrespecializations(
|
||||
SmallVectorImpl<Decl *> &Results) const {
|
||||
FORWARD(getExportedPrespecializations, (Results));
|
||||
}
|
||||
|
||||
void ModuleDecl::getTopLevelDeclsWhereAttributesMatch(
|
||||
SmallVectorImpl<Decl*> &Results,
|
||||
llvm::function_ref<bool(DeclAttributes)> matchAttributes) const {
|
||||
|
||||
Reference in New Issue
Block a user