This is an archive of the discontinued LLVM Phabricator instance.

Basic: Change Module::Umbrella to a PointerUnion, NFC
ClosedPublic

Authored by dexonsmith on Oct 30 2020, 10:37 AM.

Details

Summary

Change Module::Umbrella from a const void * to a PointerUnion of
FileEntry and DirectoryEntry. We can drop the HasUmbrellaDir bit
(since PointerUnion includes that).

This change makes it safer to update to FileEntryRef and
DirectoryEntryRef in a future patch.

Diff Detail