[PATCH] D151853: [clang] NFCI: Split `HeaderSearch::findAllModulesForHeader()`

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 31 16:27:22 PDT 2023


jansvoboda11 created this revision.
jansvoboda11 added reviewers: benlangmuir, bnbarham.
Herald added a subscriber: ributzka.
Herald added a project: All.
jansvoboda11 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This mimics the `ModuleMap` API and enables Dxxxxxx, where the `AllowCreation = true` function needs `FileEntryRef` but `AllowCreation = false` functions is happy with plain `FileEntry`. No functional change intended.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151853

Files:
  clang/include/clang/Lex/HeaderSearch.h
  clang/include/clang/Lex/ModuleMap.h
  clang/lib/Lex/HeaderSearch.cpp
  clang/lib/Lex/ModuleMap.cpp
  clang/lib/Serialization/ASTWriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151853.527229.patch
Type: text/x-patch
Size: 4238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230531/89335b47/attachment-0001.bin>


More information about the cfe-commits mailing list