[PATCH] D137206: [clang][modules][deps] Including module maps are affecting

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 1 16:38:48 PDT 2022


jansvoboda11 created this revision.
jansvoboda11 added reviewers: Bigcheese, vsapsai.
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.

With this patch, we mark module maps that include an affecting `extern` module map as also affecting. This is a generalization of D137197 <https://reviews.llvm.org/D137197>: now we don't require the importing module map to describe parent of the extern module.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137206

Files:
  clang/lib/Serialization/ASTWriter.cpp
  clang/test/ClangScanDeps/modules-extern-unrelated.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137206.472445.patch
Type: text/x-patch
Size: 7597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221101/f7275c8f/attachment-0001.bin>


More information about the cfe-commits mailing list