[clang][lex] NFCI: Use FileEntryRef in ModuleMap::{load,lookup}ModuleMap()
authorJan Svoboda <jan_svoboda@apple.com>
Thu, 25 May 2023 19:38:45 +0000 (12:38 -0700)
committerJan Svoboda <jan_svoboda@apple.com>
Tue, 30 May 2023 20:54:06 +0000 (13:54 -0700)
commit769d282d7292d14591a721ee967962736160095e
tree4fad903fe329c8e8443108aeff690171f0e677b6
parent9e8a412cb37d2a1201bd33878fce0993587ef335
[clang][lex] NFCI: Use FileEntryRef in ModuleMap::{load,lookup}ModuleMap()

This patch changes the return/argument types of `ModuleMap::{load,lookup}ModuleMap()` from `const FileEntry *` to `FileEntryRef` in order to remove uses of the deprecated `DirectoryEntry::getName()`.

Reviewed By: bnbarham

Differential Revision: https://reviews.llvm.org/D127647
clang/include/clang/Lex/HeaderSearch.h
clang/lib/Frontend/FrontendAction.cpp
clang/lib/Lex/HeaderSearch.cpp
clang/lib/Lex/ModuleMap.cpp