mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[AST] Move ide::findUnderlyingClangModule() to Module::findUnderlyingClangModule() so that the ASTPrinter can use it.
Swift SVN r23691
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user