[all-commits] [llvm/llvm-project] 1d3ba0: [clang][lex] NFCI: Use DirectoryEntryRef in Header...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Wed Apr 20 09:54:24 PDT 2022
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
[clang][lex] NFCI: Use DirectoryEntryRef in HeaderSearch::load*()
This patch removes uses of the deprecated `DirectoryEntry::getName()` from `HeaderSearch::load*()` functions by using `DirectoryEntryRef` instead.
Note that we bail out in one case and use the also deprecated `FileEntry::getLastRef()`. That's to prevent this patch from growing, and is addressed in a follow-up.
Reviewed By: bnbarham
Differential Revision: https://reviews.llvm.org/D123771
More information about the All-commits