Module interface printing: add a libIDE API to print a Clang submodule

Swift SVN r15730
This commit is contained in:
Dmitri Hrybenko
2014-04-01 14:51:58 +00:00
parent 0e533f0619
commit efb2a60ee7
3 changed files with 116 additions and 26 deletions

View File

@@ -23,6 +23,12 @@ struct PrintOptions;
namespace ide {
void printModuleInterface(Module *M, ASTPrinter &Printer,
const PrintOptions &Options);
// FIXME: this API should go away when Swift can represent Clang submodules as
// 'swift::Module *' objects.
void printSubmoduleInterface(Module *M, ArrayRef<StringRef> FullModuleName,
ASTPrinter &Printer, const PrintOptions &Options);
} // namespace ide
} // namespace swift