We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FileEntryRef
ModuleDepCollectorPP
1 parent a0b49f4 commit b19fe81Copy full SHA for b19fe81
clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
@@ -408,7 +408,7 @@ void ModuleDepCollectorPP::handleImport(const Module *Imported) {
408
void ModuleDepCollectorPP::EndOfMainFile() {
409
FileID MainFileID = MDC.ScanInstance.getSourceManager().getMainFileID();
410
MDC.MainFile = std::string(MDC.ScanInstance.getSourceManager()
411
- .getFileEntryForID(MainFileID)
+ .getFileEntryRefForID(MainFileID)
412
->getName());
413
414
auto &PP = MDC.ScanInstance.getPreprocessor();
0 commit comments