[interop] do not print inline C++ namespaces when printing module interface

This commit is contained in:
Alex Lorenz
2023-03-20 19:16:47 -07:00
parent 25280cb4cd
commit 259763c278
5 changed files with 60 additions and 11 deletions

View File

@@ -1149,6 +1149,7 @@ void swift::ide::printSymbolicSwiftClangModuleInterface(
PrintOptions::printModuleInterface(/*printFullConvention=*/false);
popts.PrintDocumentationComments = false;
popts.PrintRegularClangComments = false;
popts.SkipInlineCXXNamespace = true;
auto &SwiftContext = M->getTopLevelModule()->getASTContext();
auto &Importer =