[cfe-dev] C++ modules

Douglas Gregor dgregor at apple.com
Tue Jan 3 07:36:58 PST 2012


On Jan 1, 2012, at 10:49 AM, Rafael Ávila de Espíndola wrote:

>> Most of the work I'm doing is in three places. The Serialization
>> module, which takes care of serializing/deserializing an
>> already-parsed AST, is the hardest part: it's the infrastructure that
>> allows one to compile a module on its own, storing the serialized AST
>> to disk, and then load that module into another translation unit
>> later on. This part is likely to be the same regardless of how
>> modules behave.
> 
> If I am the author of a module, am I expected to distribute the AST
> files or will clang produce and cache them on the fly (or should their
> creation be handled by the build system)?

Clang will produce and cache them on the fly.

	- Doug



More information about the cfe-dev mailing list