[Modules] const'ify getUnderlyingClangModule(). NFC

This commit is contained in:
Doug Gregor
2017-09-14 14:24:43 -07:00
parent e5ebb5854f
commit 919b6449a4
5 changed files with 8 additions and 6 deletions

View File

@@ -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;