This is an archive of the discontinued LLVM Phabricator instance.

Frontend: Migrate to FileEntryRef in VerifyDiagnosticConsumer.cpp, NFC
ClosedPublic

Authored by dexonsmith on Dec 4 2020, 3:16 PM.

Details

Summary

Add a FileEntryRef overload of SourceManager::translateFile, and
migrate ParseDirective in VerifyDiagnosticConsumer.cpp to use it and
the corresponding overload of createFileID.

No functionality change here.

Diff Detail

Event Timeline

dexonsmith created this revision.Dec 4 2020, 3:16 PM
dexonsmith requested review of this revision.Dec 4 2020, 3:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 4 2020, 3:16 PM
This revision is now accepted and ready to land.Dec 8 2020, 5:04 AM
This revision was landed with ongoing or failed builds.Dec 9 2020, 11:51 AM
This revision was automatically updated to reflect the committed changes.