[all-commits] [llvm/llvm-project] 3473f7: [clang][lex] NFCI: Use DirectoryEntryRef in Header...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Tue May 30 21:42:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3473f728b36e21d322f141e576377c20a02c9aad
https://github.com/llvm/llvm-project/commit/3473f728b36e21d322f141e576377c20a02c9aad
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2023-05-30 (Tue, 30 May 2023)
Changed paths:
M clang/include/clang/Lex/HeaderSearch.h
M clang/lib/Frontend/FrontendAction.cpp
M clang/lib/Lex/HeaderSearch.cpp
M clang/lib/Lex/PPDirectives.cpp
R clang/test/Modules/Inputs/filename/a.h
R clang/test/Modules/Inputs/filename/module.map
M clang/test/Modules/filename.cpp
Log Message:
-----------
[clang][lex] NFCI: Use DirectoryEntryRef in HeaderSearch::LookupFile
This patch changes the argument type to `HeaderSearch::LookupFile()` from `const DirectoryEntry *` to `DirectoryEntryRef` in order to remove some calls to the deprecated `DirectoryEntry::getName()`.
Depends on D127660.
Reviewed By: bnbarham, benlangmuir
Differential Revision: https://reviews.llvm.org/D127663
More information about the All-commits
mailing list