aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/DependencyFile.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2023-09-09 12:47:12 -0700
committerJan Svoboda <jan_svoboda@apple.com>2023-09-09 21:51:04 -0700
commite644f5973b0b71baadc6d7b64596527a1dc49d17 (patch)
tree8a11bab6970ad1e6074791c09014712ac7e557b5 /clang/lib/Frontend/DependencyFile.cpp
parent14498a477ee9e00dc462779cee8cbc5846ca6d3a (diff)
downloadllvm-e644f5973b0b71baadc6d7b64596527a1dc49d17.zip
llvm-e644f5973b0b71baadc6d7b64596527a1dc49d17.tar.gz
llvm-e644f5973b0b71baadc6d7b64596527a1dc49d17.tar.bz2
[clang] NFCI: Use `FileEntryRef` in `ModuleMapCallbacks`
Diffstat (limited to 'clang/lib/Frontend/DependencyFile.cpp')
-rw-r--r--clang/lib/Frontend/DependencyFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/DependencyFile.cpp b/clang/lib/Frontend/DependencyFile.cpp
index 44268e7..1140c09 100644
--- a/clang/lib/Frontend/DependencyFile.cpp
+++ b/clang/lib/Frontend/DependencyFile.cpp
@@ -105,7 +105,7 @@ struct DepCollectorMMCallbacks : public ModuleMapCallbacks {
DependencyCollector &DepCollector;
DepCollectorMMCallbacks(DependencyCollector &DC) : DepCollector(DC) {}
- void moduleMapFileRead(SourceLocation Loc, const FileEntry &Entry,
+ void moduleMapFileRead(SourceLocation Loc, FileEntryRef Entry,
bool IsSystem) override {
StringRef Filename = Entry.getName();
DepCollector.maybeAddDependency(Filename,