mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
only recurse getDisplayDecls in SymbolGraphGen
This commit is contained in:
@@ -973,9 +973,9 @@ ModuleFile::getOpaqueReturnTypeDecls(SmallVectorImpl<OpaqueTypeDecl *> &results)
|
||||
}
|
||||
}
|
||||
|
||||
void ModuleFile::getDisplayDecls(SmallVectorImpl<Decl *> &results) {
|
||||
void ModuleFile::getDisplayDecls(SmallVectorImpl<Decl *> &results, bool recursive) {
|
||||
if (UnderlyingModule)
|
||||
UnderlyingModule->getDisplayDecls(results);
|
||||
UnderlyingModule->getDisplayDecls(results, recursive);
|
||||
|
||||
PrettyStackTraceModuleFile stackEntry(*this);
|
||||
getImportDecls(results);
|
||||
|
||||
Reference in New Issue
Block a user