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

Iain Sandoe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 3 09:02:52 PDT 2022


iains added a comment.

In D126959#3556074 <https://reviews.llvm.org/D126959#3556074>, @tahonermann wrote:

>> Implementation modules are never serialized (-emit-module-interface for an implementation unit is diagnosed and rejected).
>
> Never? Or just not via -emit-module-interface? I would expect to be able to serialize via -emit-ast.

My current intent is that this is a implementation detail (a mechanism for maintaining the module purview and type for Sema and CG).

As things stand, I do not think we are set up to handle (de-)serialization of two kinds of module with the same name, so I'd prefer to defer
possible extension to allow this for now (not against the principle, just trying avoid a rabbit hole that's tangential to the current purpose).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126959



More information about the cfe-commits mailing list