@@ -79,20 +79,20 @@ Using the cc1 command line
79
79
--------------------------
80
80
81
81
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
83
83
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> `.
86
86
87
87
Note that those options must reach clang's cc1 process. There are two
88
88
ways to do so:
89
89
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
91
91
has the downside of not configuring the default header search paths, so
92
92
you'll need to specify the full system path configuration on the command
93
93
line.
94
94
* Use clang as usual, but prefix all arguments to the cc1 process with
95
- :option: `-Xclang `.
95
+ `-Xclang `.
96
96
97
97
For example, to run the ``print-function-names `` plugin over a source file in
98
98
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
116
116
Using the clang command line
117
117
----------------------------
118
118
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
121
121
class implements the ``getActionType `` method then the plugin is run
122
122
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 `):
124
124
125
125
.. code-block :: c++
126
126
0 commit comments