only recurse getDisplayDecls in SymbolGraphGen

This commit is contained in:
Victoria Mitchell
2022-02-03 12:19:37 -07:00
parent 036d78f6ad
commit cab1669e09
14 changed files with 45 additions and 30 deletions

View File

@@ -684,7 +684,7 @@ public:
/// This includes all decls that should be displayed to clients of the module.
/// This can differ from \c getTopLevelDecls, e.g. it returns decls from a
/// shadowed clang module.
void getDisplayDecls(SmallVectorImpl<Decl*> &results);
void getDisplayDecls(SmallVectorImpl<Decl*> &results, bool recursive = false);
StringRef getModuleFilename() const {
if (!Core->ModuleInterfacePath.empty())