mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SILGen shouldn't know about ModuleFile, use FileUnit instead.
Swift SVN r26577
This commit is contained in:
@@ -489,7 +489,7 @@ StringRef SerializedASTFile::getFilename() const {
|
||||
}
|
||||
|
||||
const clang::Module *SerializedASTFile::getUnderlyingClangModule() {
|
||||
if (auto *ShadowedModule = getFile().getShadowedModule())
|
||||
if (auto *ShadowedModule = File.getShadowedModule())
|
||||
return ShadowedModule->findUnderlyingClangModule();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user