[PATCH] D42005: [docs] Use monospace for PCH option flags
Brian Gesiak via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 13 10:35:26 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rC322447: [docs] Use monospace for PCH option flags (authored by modocache, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D42005?vs=129675&id=129768#toc
Repository:
rC Clang
https://reviews.llvm.org/D42005
Files:
docs/UsersManual.rst
Index: docs/UsersManual.rst
===================================================================
--- docs/UsersManual.rst
+++ docs/UsersManual.rst
@@ -1075,7 +1075,7 @@
Building a relocatable precompiled header requires two additional
arguments. First, pass the ``--relocatable-pch`` flag to indicate that
the resulting PCH file should be relocatable. Second, pass
-`-isysroot /path/to/build`, which makes all includes for your library
+``-isysroot /path/to/build``, which makes all includes for your library
relative to the build directory. For example:
.. code-block:: console
@@ -1085,9 +1085,9 @@
When loading the relocatable PCH file, the various headers used in the
PCH file are found from the system header root. For example, ``mylib.h``
can be found in ``/usr/include/mylib.h``. If the headers are installed
-in some other system root, the `-isysroot` option can be used provide
+in some other system root, the ``-isysroot`` option can be used provide
a different system root from which the headers will be based. For
-example, `-isysroot /Developer/SDKs/MacOSX10.4u.sdk` will look for
+example, ``-isysroot /Developer/SDKs/MacOSX10.4u.sdk`` will look for
``mylib.h`` in ``/Developer/SDKs/MacOSX10.4u.sdk/usr/include/mylib.h``.
Relocatable precompiled headers are intended to be used in a limited
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42005.129768.patch
Type: text/x-patch
Size: 1319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180113/57435210/attachment.bin>
More information about the cfe-commits
mailing list