[clang] NFCI: Use DirectoryEntryRef in collectIncludePCH
authorJan Svoboda <jan_svoboda@apple.com>
Fri, 15 Apr 2022 12:48:19 +0000 (14:48 +0200)
committerJan Svoboda <jan_svoboda@apple.com>
Fri, 15 Apr 2022 13:16:17 +0000 (15:16 +0200)
commit99b4874a53cf4cd39a164a63b5505baace825d7c
tree20dc308034edeeb21ad417d47cc62c56455ca733
parent9d98f58959b12b6ddab5ac10453e1464bb830e96
[clang] NFCI: Use DirectoryEntryRef in collectIncludePCH

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

Reviewed By: bnbarham

Differential Revision: https://reviews.llvm.org/D123769
clang/lib/Frontend/CompilerInstance.cpp