diff options
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Frontend/DependencyFile.cpp | 2 | ||||
-rw-r--r-- | clang/lib/Lex/ModuleMap.cpp | 2 |
2 files changed, 2 insertions, 2 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, diff --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp index 39af2e8..b4483cd 100644 --- a/clang/lib/Lex/ModuleMap.cpp +++ b/clang/lib/Lex/ModuleMap.cpp @@ -3120,7 +3120,7 @@ bool ModuleMap::parseModuleMapFile(FileEntryRef File, bool IsSystem, // Notify callbacks that we parsed it. for (const auto &Cb : Callbacks) - Cb->moduleMapFileRead(Start, *File, IsSystem); + Cb->moduleMapFileRead(Start, File, IsSystem); return Result; } |