mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user