mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #31589 from nathawes/doc-info-missing-submodule-decls
[IDE][DocSupport] Fix DocInfo missing decls when generated for clang submodules
This commit is contained in:
@@ -983,8 +983,9 @@ static bool getModuleInterfaceInfo(ASTContext &Ctx, StringRef ModuleName,
|
||||
SmallString<128> Text;
|
||||
llvm::raw_svector_ostream OS(Text);
|
||||
AnnotatingPrinter Printer(OS);
|
||||
printModuleInterface(M, None, TraversalOptions, Printer, Options,
|
||||
true);
|
||||
|
||||
printModuleInterface(M, None, TraversalOptions, Printer, Options, true);
|
||||
|
||||
Info.Text = std::string(OS.str());
|
||||
Info.TopEntities = std::move(Printer.TopEntities);
|
||||
Info.References = std::move(Printer.References);
|
||||
|
||||
Reference in New Issue
Block a user