[PATCH] D126959: [C++20][Modules] Introduce an implementation module.

Iain Sandoe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 27 07:55:07 PDT 2023


iains updated this revision to Diff 508662.
iains added a comment.

rebased, reworked to have the module owned.

The implementation module needs to be owned by the mpodul map so that
it is released when done.  Reworked the comments and assert to check the
main file presence.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126959

Files:
  clang/include/clang/Basic/Module.h
  clang/include/clang/Lex/ModuleMap.h
  clang/include/clang/Sema/Sema.h
  clang/lib/AST/Decl.cpp
  clang/lib/CodeGen/CGDeclCXX.cpp
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/Frontend/FrontendActions.cpp
  clang/lib/Lex/ModuleMap.cpp
  clang/lib/Sema/SemaDecl.cpp
  clang/lib/Sema/SemaModule.cpp
  clang/lib/Serialization/ASTWriter.cpp
  clang/test/CXX/module/basic/basic.def.odr/p4.cppm
  clang/test/CXX/module/basic/basic.link/p2.cppm
  clang/test/CodeGenCXX/module-intializer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126959.508662.patch
Type: text/x-patch
Size: 19578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230327/fdb3d02b/attachment-0001.bin>


More information about the cfe-commits mailing list