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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to