[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

@@ -1214,7 +1214,7 @@ bool ModuleDecl::walk(ASTWalker &Walker) {
return false;
}
const clang::Module *ModuleDecl::findUnderlyingClangModule() {
const clang::Module *ModuleDecl::findUnderlyingClangModule() const {
for (auto *FU : getFiles()) {
if (auto *Mod = FU->getUnderlyingClangModule())
return Mod;