diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-20 00:16:32 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-20 00:16:32 +0000 |
commit | 32110dfd1c612e97996fa87c3ca6180461b9fb1f (patch) | |
tree | e429897fb88f326e50d1a3e7d2dcd7f26202f0b3 /docs/InternalsManual.html | |
parent | 0529519a9feb1995ba88d179197454103b758866 (diff) |
Start documenting precompiled headers
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72146 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/InternalsManual.html')
-rw-r--r-- | docs/InternalsManual.html | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/docs/InternalsManual.html b/docs/InternalsManual.html index 05b45a6ab3..a4d5a057eb 100644 --- a/docs/InternalsManual.html +++ b/docs/InternalsManual.html @@ -31,7 +31,7 @@ td { <ul> </ul> </li> -<li><a href="#pth">Pretokenized Headers (PTH)</a> +<li><a href="#pch">Precompiled Headers</a> <li><a href="#libfrontend">The Frontend Library</a> <ul> </ul> @@ -548,11 +548,19 @@ This concept maps directly to the "spelling location" for the token.</p> href="DriverInternals.html">here<a>.<p> <!-- ======================================================================= --> -<h2 id="pth">Pretokenized Headers (PTH)</h2> +<h2 id="pch">Precompiled Headers</h2> <!-- ======================================================================= --> -<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> + <!-- ======================================================================= --> <h2 id="libfrontend">The Frontend Library</h2> |