mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
only recurse getDisplayDecls in SymbolGraphGen
This commit is contained in:
@@ -57,7 +57,7 @@ symbolgraphgen::emitSymbolGraphForModule(ModuleDecl *M,
|
||||
const SymbolGraphOptions &Options) {
|
||||
SymbolGraphASTWalker Walker(*M, Options);
|
||||
SmallVector<Decl *, 64> ModuleDecls;
|
||||
swift::getTopLevelDeclsForDisplay(M, ModuleDecls);
|
||||
swift::getTopLevelDeclsForDisplay(M, ModuleDecls, /*recursive*/true);
|
||||
|
||||
if (Options.PrintMessages)
|
||||
llvm::errs() << ModuleDecls.size()
|
||||
|
||||
Reference in New Issue
Block a user