mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02: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