mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[IDE] Don't show "import SwiftShims" in the stdlib interface.
Swift SVN r17344
This commit is contained in:
@@ -326,9 +326,12 @@ void swift::ide::printSubmoduleInterface(
|
||||
return false;
|
||||
};
|
||||
|
||||
for (auto *D : ImportDecls)
|
||||
PrintDecl(D);
|
||||
Printer << "\n";
|
||||
// Imports from the stdlib are internal details that don't need to be exposed.
|
||||
if (!M->isStdlibModule()) {
|
||||
for (auto *D : ImportDecls)
|
||||
PrintDecl(D);
|
||||
Printer << "\n";
|
||||
}
|
||||
|
||||
{
|
||||
using ModuleAndName = std::pair<const clang::Module *, std::string>;
|
||||
|
||||
Reference in New Issue
Block a user