This is an archive of the discontinued LLVM Phabricator instance.

[include-cleaner] Switch Include from FileEntry* -> FileEntryRef
ClosedPublic

Authored by sammccall on Jul 20 2023, 2:12 PM.

Details

Summary

Unlike Header, we really do have a preferred spelling for an include: the one
that we used to open the file.

The fact that Header is still FileEntry* makes it difficult to accidentally
use path equality when we want inode equality.

Diff Detail

Event Timeline

sammccall created this revision.Jul 20 2023, 2:12 PM
Herald added a project: Restricted Project. · View Herald Transcript
sammccall requested review of this revision.Jul 20 2023, 2:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2023, 2:12 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
kadircet accepted this revision.Jul 26 2023, 1:32 AM
This revision is now accepted and ready to land.Jul 26 2023, 1:32 AM