mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Modules] const'ify getUnderlyingClangModule(). NFC
This commit is contained in:
@@ -614,7 +614,7 @@ StringRef SerializedASTFile::getFilename() const {
|
||||
return File.getModuleFilename();
|
||||
}
|
||||
|
||||
const clang::Module *SerializedASTFile::getUnderlyingClangModule() {
|
||||
const clang::Module *SerializedASTFile::getUnderlyingClangModule() const {
|
||||
if (auto *ShadowedModule = File.getShadowedModule())
|
||||
return ShadowedModule->findUnderlyingClangModule();
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user