[cfe-commits] r70125 - /cfe/trunk/lib/Frontend/PCHWriter.cpp

Douglas Gregor dgregor at apple.com
Sun Apr 26 13:28:52 PDT 2009


On Apr 26, 2009, at 1:13 PM, Sebastian Redl wrote:

> Chris Lattner wrote:
>>> After PCH is working, it will be interesting to consider other
>>> applications for this fast read/write mechanism:-)
>>>
>>
>> Absolutely, this is just a general AST serialization mechanism, it  
>> has
>> nothing to do with PCH per-say.  n obvious application is cross-file
>> analysis for static analysis, refactoring, etc.
>>
> ... C++ template export :-)
> Perhaps if an open-source compiler supported it, then some people  
> would
> start using the feature.

There's also a slim possibility that, if done well, it would actually  
be beneficial for compile times. That isn't the case with the EDG  
implementation.

	- Doug



More information about the cfe-commits mailing list