This is an archive of the discontinued LLVM Phabricator instance.

[clang][lex] NFCI: Use FileEntryRef in ModuleMap::diagnoseHeaderInclusion()
ClosedPublic

Authored by jansvoboda11 on Apr 15 2022, 7:22 AM.

Details

Summary

This patch removes uses of the deprecated DirectoryEntry::getName() from the ModuleMap::diagnoseHeaderInclusion() function by using {File,Directory}EntryRef instead.

Diff Detail

Event Timeline

jansvoboda11 created this revision.Apr 15 2022, 7:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 15 2022, 7:22 AM
jansvoboda11 requested review of this revision.Apr 15 2022, 7:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 15 2022, 7:22 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
bnbarham accepted this revision.Apr 15 2022, 9:18 AM

Shadowing of FE almost tripped me up there 😅

This revision is now accepted and ready to land.Apr 15 2022, 9:18 AM
This revision was landed with ongoing or failed builds.Apr 20 2022, 11:27 AM
This revision was automatically updated to reflect the committed changes.