AST printer: use getDisplayDecls() to find a list of decls to print.

We are still not completely correct in determining which extensions to print,
will fix in future patches.


Swift SVN r10960
This commit is contained in:
Dmitri Hrybenko
2013-12-07 00:54:05 +00:00
parent 55e2792f10
commit 11ccb38e06
7 changed files with 71 additions and 36 deletions

View File

@@ -286,6 +286,10 @@ void SerializedASTFile::getTopLevelDecls(SmallVectorImpl<Decl*> &results) const{
File.getTopLevelDecls(results);
}
void SerializedASTFile::getDisplayDecls(SmallVectorImpl<Decl*> &results) const {
File.getDisplayDecls(results);
}
StringRef SerializedASTFile::getFilename() const {
return File.getModuleFilename();
}