[cfe-dev] Borland-style PCHs in clang

Sebastian Redl sebastian.redl at getdesigned.at
Wed Sep 29 01:10:08 PDT 2010


On Sep 29, 2010, at 12:12 AM, dawn at burble.org wrote:

> Sounds great.  What's your "preamble support"??
> May be you can point me to some code in clang that I can poke around
> in??

Meh, preamble support is all over the place. I think a key function is Lexer::ComputePreamble, since it's the function whose functionality you have to duplicate and modify for a Borland-style PCH. In general, though, I recommend you do a global case-sensitive search for "Preamble" on the source base and look for interesting names.

Sebastian



More information about the cfe-dev mailing list