[PATCH] D118587: [C++20][Modules] Handle generation of partition implementation CMIs.

Iain Sandoe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 15 08:32:11 PST 2022


iains created this revision.
iains updated this revision to Diff 405593.
iains added a comment.
iains updated this revision to Diff 408762.
iains updated this revision to Diff 408862.
iains added reviewers: rsmith, urnathan, ChuanqiXu.
iains published this revision for review.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

rebased onto import state machine


iains added a comment.

Rebased onto other modules work.


iains added a comment.

Update formatting


iains added a comment.

this is the fourth patch of eight to implement basic C++20 module partition support.


Partition implementations are special, they generate a CMI, but it
does not have an 'export' line, and we cannot export anything from the
it [that is it can only make decls available to other members of the
owning module, not to importers of that].


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118587

Files:
  clang/include/clang/Sema/Sema.h
  clang/lib/Sema/SemaModule.cpp
  clang/test/Modules/cxx20-10-1-ex1.cpp
  clang/test/Modules/cxx20-10-1-ex2.cpp
  clang/test/Modules/cxx20-import-diagnostics-a.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118587.408862.patch
Type: text/x-patch
Size: 10423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220215/4d35e8cf/attachment.bin>


More information about the cfe-commits mailing list