[cfe-commits] r72146 - in /cfe/trunk/docs: InternalsManual.html PCHInternals.html

Eli Friedman eli.friedman at gmail.com
Tue May 19 17:19:45 PDT 2009


On Tue, May 19, 2009 at 5:16 PM, Douglas Gregor <dgregor at apple.com> wrote:
> -<p>Clang's current implementation of precompiled headers, known as PTH, is
> -documented <a href="PTHInternals.html">here</a>.</p>
> +<p>Clang supports two implementations of precompiled headers. The
> +   default implementation, precompiled headers (<a
> +    href="PCHInternals.html">PCH</a>) uses a serialized representation
> +   of Clang's internal data structures, encoded with the <a
> +    href="http://llvm.org/docs/BitCodeFormat.html">LLVM bitstream
> +   format</a>. Pretokenized headers (<a
> +    href="PTHInternals.html">PTH</a>), on the other hand, contain a
> +   serialized representation of the tokens encountered when
> +   preprocessing a header (and anything that header includes).</p>

Long-term, are we planning to keep around PTH, or discard it as a
failed experiment?  Or has it not been discussed yet?

-Eli




More information about the cfe-commits mailing list