[AST] Move ide::findUnderlyingClangModule() to Module::findUnderlyingClangModule() so that the ASTPrinter can use it.

Swift SVN r23691
This commit is contained in:
Argyrios Kyrtzidis
2014-12-04 20:17:03 +00:00
parent 026b88fce8
commit d039fb6369
10 changed files with 29 additions and 21 deletions

View File

@@ -197,6 +197,8 @@ public:
virtual StringRef getFilename() const override;
virtual const clang::Module *getUnderlyingClangModule() override;
static bool classof(const FileUnit *file) {
return file->getKind() == FileUnitKind::SerializedAST;
}