[cfe-commits] r171005 - /cfe/trunk/docs/PTHInternals.rst

Sean Silva silvas at purdue.edu
Sun Dec 23 11:42:02 PST 2012


Thanks for all this work fixing up the docs!

-- Sean Silva

On Sun, Dec 23, 2012 at 11:39 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> Author: gribozavr
> Date: Sun Dec 23 12:39:54 2012
> New Revision: 171005
>
> URL: http://llvm.org/viewvc/llvm-project?rev=171005&view=rev
> Log:
> Documentation: PTHInternals: use correct adornments and fix typos
>
> Fixes PR14014
>
> Modified:
>     cfe/trunk/docs/PTHInternals.rst
>
> Modified: cfe/trunk/docs/PTHInternals.rst
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/PTHInternals.rst?rev=171005&r1=171004&r2=171005&view=diff
> ==============================================================================
> --- cfe/trunk/docs/PTHInternals.rst (original)
> +++ cfe/trunk/docs/PTHInternals.rst Sun Dec 23 12:39:54 2012
> @@ -60,7 +60,7 @@
>  type-checking must be completely redone every time a PTH file is used.
>
>  Basic Design Tradeoffs
> -~~~~~~~~~~~~~~~~~~~~~~
> +----------------------
>
>  In the long term there are plans to provide an alternate PCH
>  implementation for Clang that also caches the work for parsing and type
> @@ -89,7 +89,7 @@
>  **Architecture independence**
>     In contrast to GCC's PCH files (and
>     those of several other compilers), Clang's PTH files are architecture
> -   independent, requiring only a single PTH file when building an
> +   independent, requiring only a single PTH file when building a
>     program for multiple architectures.
>
>     For example, on Mac OS X one may wish to compile a "universal binary"
> @@ -142,7 +142,7 @@
>  PTH such as reduced memory pressure (ideal for multi-core builds).
>
>  Internal PTH Optimizations
> -~~~~~~~~~~~~~~~~~~~~~~~~~~
> +--------------------------
>
>  While the main optimization employed by PTH is to reduce lexing time of
>  header files by caching pre-lexed tokens, PTH also employs several other
> @@ -154,7 +154,7 @@
>     involved in context-switching to the kernel to resolve included
>     files.
>
> --  Fasting skipping of ``#ifdef``... ``#endif`` chains: PTH files
> +-  Fast skipping of ``#ifdef`` ... ``#endif`` chains: PTH files
>     record the basic structure of nested preprocessor blocks. When the
>     condition of the preprocessor block is false, all of its tokens are
>     immediately skipped instead of requiring them to be handled by
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list