aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/HeaderSearch.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2023-09-09 13:00:50 -0700
committerJan Svoboda <jan_svoboda@apple.com>2023-09-28 12:59:26 -0700
commit12cb98fe04d5ca1d0cec89cdffac99c4243c0819 (patch)
tree3170be7f150a5c7e49b55688fe709c3383fc57e2 /clang/lib/Lex/HeaderSearch.cpp
parent7ac330a461255f10c1664f02fae302d567d2a589 (diff)
downloadllvm-12cb98fe04d5ca1d0cec89cdffac99c4243c0819.zip
llvm-12cb98fe04d5ca1d0cec89cdffac99c4243c0819.tar.gz
llvm-12cb98fe04d5ca1d0cec89cdffac99c4243c0819.tar.bz2
[clang][modules] Use `FileEntryRef` in `ModuleMap` (1/2)
Diffstat (limited to 'clang/lib/Lex/HeaderSearch.cpp')
-rw-r--r--clang/lib/Lex/HeaderSearch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/HeaderSearch.cpp b/clang/lib/Lex/HeaderSearch.cpp
index 4deabf2..fc23bbf 100644
--- a/clang/lib/Lex/HeaderSearch.cpp
+++ b/clang/lib/Lex/HeaderSearch.cpp
@@ -1576,7 +1576,7 @@ HeaderSearch::findAllModulesForHeader(FileEntryRef File) const {
}
ArrayRef<ModuleMap::KnownHeader>
-HeaderSearch::findResolvedModulesForHeader(const FileEntry *File) const {
+HeaderSearch::findResolvedModulesForHeader(FileEntryRef File) const {
if (ExternalSource) {
// Make sure the external source has handled header info about this file,
// which includes whether the file is part of a module.