[clang][lex] NFCI: Use DirectoryEntryRef in ModuleMap::inferFrameworkModule()
authorJan Svoboda <jan_svoboda@apple.com>
Thu, 25 May 2023 21:02:32 +0000 (14:02 -0700)
committerJan Svoboda <jan_svoboda@apple.com>
Tue, 30 May 2023 20:54:06 +0000 (13:54 -0700)
commit95279d7670cd54a50cf72d1fbc99701ef1faa72b
tree1beaf4eef29f3bfa2eae61026c144d32dcb21061
parent769d282d7292d14591a721ee967962736160095e
[clang][lex] NFCI: Use DirectoryEntryRef in ModuleMap::inferFrameworkModule()

This patch changes the argument type of `ModuleMap::inferFrameworkModule()` from `const DirectoryEntry *` to `DirectoryEntryRef` in order to remove the deprecated uses of `DirectoryEntry::getName()`.

Depends on D127647.

Reviewed By: bnbarham

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