diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2016-07-14 14:07:37 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2016-07-14 14:07:37 +0000 |
commit | 34be2a0a61ac79eae1dd0f88f022063fba55bcbb (patch) | |
tree | bd8ae2c8cf9d0a35f2600598404d214a5fc6ed27 | |
parent | e3014fc1448f292a72b76d23e8cd7d4605184cb8 (diff) | |
download | bcm5719-llvm-34be2a0a61ac79eae1dd0f88f022063fba55bcbb.tar.gz bcm5719-llvm-34be2a0a61ac79eae1dd0f88f022063fba55bcbb.zip |
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).
llvm-svn: 275416
-rw-r--r-- | clang/docs/ClangPlugins.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/clang/docs/ClangPlugins.rst b/clang/docs/ClangPlugins.rst index 1b81bdeb7ac..833f0dd39f7 100644 --- a/clang/docs/ClangPlugins.rst +++ b/clang/docs/ClangPlugins.rst @@ -79,20 +79,20 @@ Using the cc1 command line -------------------------- To run a plugin, the dynamic library containing the plugin registry must be -loaded via the :option:`-load` command line option. This will load all plugins +loaded via the `-load` command line option. This will load all plugins that are registered, and you can select the plugins to run by specifying the -:option:`-plugin` option. Additional parameters for the plugins can be passed with -:option:`-plugin-arg-<plugin-name>`. +`-plugin` option. Additional parameters for the plugins can be passed with +`-plugin-arg-<plugin-name>`. Note that those options must reach clang's cc1 process. There are two ways to do so: -* Directly call the parsing process by using the :option:`-cc1` option; this +* Directly call the parsing process by using the `-cc1` option; this has the downside of not configuring the default header search paths, so you'll need to specify the full system path configuration on the command line. * Use clang as usual, but prefix all arguments to the cc1 process with - :option:`-Xclang`. + `-Xclang`. For example, to run the ``print-function-names`` plugin over a source file in 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 Using the clang command line ---------------------------- -Using :option:`-fplugin=plugin` on the clang command line passes the plugin -through as an argument to :option:`-load` on the cc1 command line. If the plugin +Using `-fplugin=plugin` on the clang command line passes the plugin +through as an argument to `-load` on the cc1 command line. If the plugin class implements the ``getActionType`` method then the plugin is run automatically. For example, to run the plugin automatically after the main AST -action (i.e. the same as using :option:`-add-plugin`): +action (i.e. the same as using `-add-plugin`): .. code-block:: c++ |