[clang][CodeGen] NFCI: Use FileEntryRef
authorJan Svoboda <jan_svoboda@apple.com>
Fri, 15 Apr 2022 12:48:01 +0000 (14:48 +0200)
committerJan Svoboda <jan_svoboda@apple.com>
Fri, 15 Apr 2022 13:16:17 +0000 (15:16 +0200)
commit9d98f58959b12b6ddab5ac10453e1464bb830e96
treee3fbe9ddb5f5851ed870c687d23d3d2335efd5e7
parentf263dac4465c251e37af9787baf5e9f56138e369
[clang][CodeGen] NFCI: Use FileEntryRef

This patch removes use of the deprecated `DirectoryEntry::getName()` from clangCodeGen by using `{File,Directory}EntryRef` instead.

Reviewed By: bnbarham

Differential Revision: https://reviews.llvm.org/D123768
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/CodeGen/CGObjCGNU.cpp