This is an archive of the discontinued LLVM Phabricator instance.

[clang] NFCI: Use `FileEntryRef` in `ModuleMapCallbacks`
ClosedPublic

Authored by jansvoboda11 on May 31 2023, 4:24 PM.

Details

Summary

This patch removes path hackery from ModuleMapCallbacks by adopting FileEntryRef. No functional change intended.

Diff Detail

Event Timeline

jansvoboda11 created this revision.May 31 2023, 4:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 31 2023, 4:24 PM
Herald added a subscriber: ributzka. · View Herald Transcript
jansvoboda11 requested review of this revision.May 31 2023, 4:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 31 2023, 4:24 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
benlangmuir accepted this revision.Jun 1 2023, 9:36 AM

Nice simplification!

clang/include/clang/Lex/ModuleMap.h
71

Doc comment needs update

This revision is now accepted and ready to land.Jun 1 2023, 9:36 AM