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:
@@ -1267,6 +1267,10 @@ SerializedASTFile::getTopLevelDecls(SmallVectorImpl<Decl*> &results) const {
|
||||
File.getTopLevelDecls(results);
|
||||
}
|
||||
|
||||
void SerializedASTFile::getExportedPrespecializations(
|
||||
SmallVectorImpl<Decl *> &results) const {
|
||||
File.getExportedPrespecializations(results);
|
||||
}
|
||||
void SerializedASTFile::getTopLevelDeclsWhereAttributesMatch(
|
||||
SmallVectorImpl<Decl*> &results,
|
||||
llvm::function_ref<bool(DeclAttributes)> matchAttributes) const {
|
||||
|
||||
Reference in New Issue
Block a user