[clang][lex] NFCI: Use FileEntryRef in Sema::CodeCompleteIncludedFile
authorJan Svoboda <jan_svoboda@apple.com>
Thu, 25 May 2023 21:45:31 +0000 (14:45 -0700)
committerJan Svoboda <jan_svoboda@apple.com>
Tue, 30 May 2023 20:54:06 +0000 (13:54 -0700)
commitb1e5b28b8c4d8af294906ee27a62b28079d3f337
treebda8f0a5de0e19a5227598829a8d25a31a0ffe51
parent32d6f3cfd90b90321e84477b2bd353afbf9876ea
[clang][lex] NFCI: Use FileEntryRef in Sema::CodeCompleteIncludedFile

This patch replaces some calls to the deprecated `DirectoryEntry::getName()` with calls to `DirectoryEntryRef::getName()` in SemaCodeComplete.cpp.

Depends on D127654.

Reviewed By: bnbarham

Differential Revision: https://reviews.llvm.org/D127658
clang/lib/Sema/SemaCodeComplete.cpp