Swif-ide-test: add a parameter to specify the group names to print.

This commit is contained in:
Xi Ge
2016-02-19 11:36:50 -08:00
parent 41f0489b12
commit 1872214d40
4 changed files with 29 additions and 12 deletions

View File

@@ -314,7 +314,8 @@ static bool getModuleInterfaceInfo(ASTContext &Ctx,
SmallString<128> Text;
llvm::raw_svector_ostream OS(Text);
AnnotatingPrinter Printer(Info, OS);
printSubmoduleInterface(Mod, SplitModuleName, Group,
printSubmoduleInterface(Mod, SplitModuleName,
Group.hasValue() ? llvm::makeArrayRef(Group.getValue()) : ArrayRef<StringRef>(),
TraversalOptions,
Printer, Options, SynthesizedExtensions);