Skip to content

Commit df2ccf1

Browse files
committed
Removing more :option: tags that we do not have corresponding .. option directives for; these are causing the sphinx bot to fail (http://lab.llvm.org:8011/builders/clang-sphinx-docs/builds/15195/steps/docs-clang-html/logs/stdio).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275416 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 8485ca8 commit df2ccf1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/ClangPlugins.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,20 @@ Using the cc1 command line
7979
--------------------------
8080

8181
To run a plugin, the dynamic library containing the plugin registry must be
82-
loaded via the :option:`-load` command line option. This will load all plugins
82+
loaded via the `-load` command line option. This will load all plugins
8383
that are registered, and you can select the plugins to run by specifying the
84-
:option:`-plugin` option. Additional parameters for the plugins can be passed with
85-
:option:`-plugin-arg-<plugin-name>`.
84+
`-plugin` option. Additional parameters for the plugins can be passed with
85+
`-plugin-arg-<plugin-name>`.
8686

8787
Note that those options must reach clang's cc1 process. There are two
8888
ways to do so:
8989

90-
* Directly call the parsing process by using the :option:`-cc1` option; this
90+
* Directly call the parsing process by using the `-cc1` option; this
9191
has the downside of not configuring the default header search paths, so
9292
you'll need to specify the full system path configuration on the command
9393
line.
9494
* Use clang as usual, but prefix all arguments to the cc1 process with
95-
:option:`-Xclang`.
95+
`-Xclang`.
9696

9797
For example, to run the ``print-function-names`` plugin over a source file in
9898
clang, first build the plugin, and then call clang with the plugin from the
@@ -116,11 +116,11 @@ Also see the print-function-name plugin example's
116116
Using the clang command line
117117
----------------------------
118118

119-
Using :option:`-fplugin=plugin` on the clang command line passes the plugin
120-
through as an argument to :option:`-load` on the cc1 command line. If the plugin
119+
Using `-fplugin=plugin` on the clang command line passes the plugin
120+
through as an argument to `-load` on the cc1 command line. If the plugin
121121
class implements the ``getActionType`` method then the plugin is run
122122
automatically. For example, to run the plugin automatically after the main AST
123-
action (i.e. the same as using :option:`-add-plugin`):
123+
action (i.e. the same as using `-add-plugin`):
124124

125125
.. code-block:: c++
126126

0 commit comments

Comments
 (0)