This is an archive of the discontinued LLVM Phabricator instance.

Change Module::ASTFile and ModuleFile::File => Optional<FileEntryRef>, NFC
ClosedPublic

Authored by dexonsmith on Oct 20 2020, 4:24 PM.

Details

Summary

Change Module::ASTFile and ModuleFile::File to use
Optional<FileEntryRef> instead of const FileEntry *. One of many
steps toward removing FileEntry::getName.

Diff Detail

Event Timeline

dexonsmith created this revision.Oct 20 2020, 4:24 PM
dexonsmith retitled this revision from Change Module::ASTFile and ModuleFile::File => MaybeFileEntryRef, NFC to Change Module::ASTFile and ModuleFile::File => Optional<FileEntryRef>, NFC.
dexonsmith edited the summary of this revision. (Show Details)

Rebase.

This revision is now accepted and ready to land.Oct 28 2020, 1:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 2 2020, 12:12 PM

Note: the bots revealed I needed another update for some host compilers, which I pushed in 5cb8d93205463f169ad4dd532829147fed2e38d0.