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.
Paths
| Differential D127648
[clang][lex] NFCI: Use DirectoryEntryRef in ModuleMap::inferFrameworkModule() ClosedPublic Authored by jansvoboda11 on Jun 13 2022, 8:19 AM.
Details Summary 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.
Diff Detail
Event Timelinebnbarham added inline comments. This revision is now accepted and ready to land.Jun 13 2022, 9:42 AM This revision was landed with ongoing or failed builds.May 30 2023, 1:54 PM Closed by commit rG95279d7670cd: [clang][lex] NFCI: Use DirectoryEntryRef in ModuleMap::inferFrameworkModule() (authored by jansvoboda11). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 526777 clang/include/clang/Lex/ModuleMap.h
clang/lib/Frontend/FrontendAction.cpp
clang/lib/Lex/ModuleMap.cpp
|
Nit: getName() is already a StringRef (it was previously too, but I assume that wasn't the case at ... some point).