[PATCH] D135220: [clang] Update ModuleMap::getModuleMapFile* to use FileEntryRef

Ben Langmuir via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 5 10:29:17 PDT 2022


benlangmuir updated this revision to Diff 465457.
benlangmuir edited the summary of this revision.
benlangmuir added a comment.

- Used `OptionalFileEntryRefDegradesToFileEntryPtr` at two callsites
- Attempted to fix Windows path / vs \ in test.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135220/new/

https://reviews.llvm.org/D135220

Files:
  clang/include/clang/Basic/FileEntry.h
  clang/include/clang/Basic/SourceManager.h
  clang/include/clang/Lex/ModuleMap.h
  clang/lib/Basic/SourceManager.cpp
  clang/lib/Frontend/CompilerInstance.cpp
  clang/lib/Lex/HeaderSearch.cpp
  clang/lib/Lex/ModuleMap.cpp
  clang/lib/Serialization/ASTReader.cpp
  clang/lib/Serialization/ASTWriter.cpp
  clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
  clang/test/Modules/malformed.cpp
  clang/tools/libclang/CIndexInclusionStack.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135220.465457.patch
Type: text/x-patch
Size: 18174 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221005/c25e5f1a/attachment.bin>


More information about the cfe-commits mailing list