[clang][lex] NFCI: Use DirectoryEntryRef in ModuleMap::parseModuleMapFile()
authorJan Svoboda <jan_svoboda@apple.com>
Thu, 25 May 2023 21:13:15 +0000 (14:13 -0700)
committerJan Svoboda <jan_svoboda@apple.com>
Tue, 30 May 2023 20:54:06 +0000 (13:54 -0700)
commitd574e918dba31e670a87c46e7de281819b3c0ea9
treea63da309187e6ab77370df8a0420ebc5d2a88e82
parent95279d7670cd54a50cf72d1fbc99701ef1faa72b
[clang][lex] NFCI: Use DirectoryEntryRef in ModuleMap::parseModuleMapFile()

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

Depends on D127648.

Reviewed By: bnbarham

Differential Revision: https://reviews.llvm.org/D127651
clang-tools-extra/modularize/ModularizeUtilities.cpp
clang/include/clang/Lex/ModuleMap.h
clang/lib/Lex/ModuleMap.cpp