[clang][lex] NFCI: Use DirectoryEntryRef in FrameworkCacheEntry
authorJan Svoboda <jan_svoboda@apple.com>
Wed, 20 Apr 2022 16:55:58 +0000 (18:55 +0200)
committerJan Svoboda <jan_svoboda@apple.com>
Wed, 20 Apr 2022 17:01:02 +0000 (19:01 +0200)
commitf43ce5199df328c0acd3bc1d56d481b22d681ca8
tree3e33f9f28ceb052f7b76df8d7c09a9554681bde5
parentba118f30676d44025885f422e29fe853a84495f8
[clang][lex] NFCI: Use DirectoryEntryRef in FrameworkCacheEntry

This patch changes the member of `FrameworkCacheEntry` from `const DirectoryEntry *` to `Optional<DirectoryEntryRef>` in order to remove uses of the deprecated `DirectoryEntry::getName()`.

Reviewed By: bnbarham

Differential Revision: https://reviews.llvm.org/D123854
clang/include/clang/Lex/HeaderSearch.h
clang/lib/Lex/HeaderSearch.cpp