[PATCH] D127654: [clang] NFCI: Use DirectoryEntryRef in Module::Directory
Ben Barham via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 13 10:59:01 PDT 2022
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());
----------------
Does a module always have a directory?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127654/new/
https://reviews.llvm.org/D127654
More information about the cfe-commits
mailing list