[PATCH] D89836: Change Module::ASTFile and ModuleFile::File => MaybeFileEntryRef, NFC

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 20 16:24:37 PDT 2020


dexonsmith created this revision.
dexonsmith added reviewers: arphaman, JDevlieghere, teemperor.
Herald added a subscriber: ributzka.
dexonsmith requested review of this revision.

Change `Module::ASTFile` and `ModuleFile::File` to use `MayeFileEntryRef`
instead of `const FileEntry *`. One of many steps toward removing
`FileEntry::getName`.


https://reviews.llvm.org/D89836

Files:
  clang/include/clang/Basic/FileEntry.h
  clang/include/clang/Basic/Module.h
  clang/include/clang/Serialization/ModuleFile.h
  clang/include/clang/Serialization/ModuleManager.h
  clang/lib/Basic/Module.cpp
  clang/lib/Sema/SemaModule.cpp
  clang/lib/Serialization/ModuleManager.cpp
  clang/tools/libclang/CIndex.cpp
  clang/tools/libclang/CXIndexDataConsumer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89836.299509.patch
Type: text/x-patch
Size: 7857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201020/5639e97c/attachment-0001.bin>


More information about the cfe-commits mailing list