Actually pass module name to ide::printSubmoduleInterface()

Swift SVN r15733
This commit is contained in:
Dmitri Hrybenko
2014-04-01 16:00:08 +00:00
parent c580152102
commit af5aeadc98

View File

@@ -16,7 +16,8 @@ using namespace swift;
void swift::ide::printModuleInterface(Module *M, ASTPrinter &Printer,
const PrintOptions &Options) {
printSubmoduleInterface(M, {}, Printer, Options);
StringRef FullModuleName[] = { M->Name.str() };
printSubmoduleInterface(M, FullModuleName, Printer, Options);
}
void swift::ide::printSubmoduleInterface(Module *M,