mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Simplify code
Swift SVN r15740
This commit is contained in:
@@ -16,8 +16,7 @@ using namespace swift;
|
||||
|
||||
void swift::ide::printModuleInterface(Module *M, ASTPrinter &Printer,
|
||||
const PrintOptions &Options) {
|
||||
StringRef FullModuleName[] = { M->Name.str() };
|
||||
printSubmoduleInterface(M, FullModuleName, Printer, Options);
|
||||
printSubmoduleInterface(M, M->Name.str(), Printer, Options);
|
||||
}
|
||||
|
||||
void swift::ide::printSubmoduleInterface(Module *M,
|
||||
|
||||
Reference in New Issue
Block a user