This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
jansvoboda11 marked 2 inline comments as done.
Closed by commit rG32d6f3cfd90b: [clang] NFCI: Use DirectoryEntryRef in
Module::Directory (authored by jansvoboda11).
Ch
jansvoboda11 marked 2 inline comments as done.
jansvoboda11 added inline comments.
Herald added a subscriber: ributzka.
Comment at: clang/include/clang/Basic/Module.h:138
/// are found.
- const DirectoryEntry *Directory = nullptr;
+ OptionalDirectoryEntryRefDegradesToDirecto
bnbarham added inline comments.
Comment at: clang/lib/Lex/ModuleMap.cpp:178
// Search for the header file within the module's home directory.
- auto *Directory = M->Directory;
+ auto Directory = M->Directory;
SmallString<128> FullPathName(Directory->getName());
--
bnbarham accepted this revision.
bnbarham added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/include/clang/Basic/Module.h:138
/// are found.
- const DirectoryEntry *Directory = nullptr;
+ OptionalDirectoryEntryRefDegradesToDirectoryEntr
jansvoboda11 created this revision.
jansvoboda11 added a reviewer: bnbarham.
Herald added a project: All.
jansvoboda11 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This patch changes the type of `Module::Directory` from `const DirectoryE