Skip to content

Commit b19fe81

Browse files
committed
[clang][deps] NFCI: Use FileEntryRef in ModuleDepCollectorPP
1 parent a0b49f4 commit b19fe81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ void ModuleDepCollectorPP::handleImport(const Module *Imported) {
408408
void ModuleDepCollectorPP::EndOfMainFile() {
409409
FileID MainFileID = MDC.ScanInstance.getSourceManager().getMainFileID();
410410
MDC.MainFile = std::string(MDC.ScanInstance.getSourceManager()
411-
.getFileEntryForID(MainFileID)
411+
.getFileEntryRefForID(MainFileID)
412412
->getName());
413413

414414
auto &PP = MDC.ScanInstance.getPreprocessor();

0 commit comments

Comments
 (0)