[RDF] Remove unused parameter AllRefs from buildPhis
[llvm-project.git] / clang / docs / CommandGuide / diagtool.rst
blob656ce10b23319f49e7ff9c34f9b53e522f881aeb
1 diagtool - clang diagnostics tool
2 =================================
4 SYNOPSIS
5 --------
7 :program:`diagtool` *command* [*args*]
9 DESCRIPTION
10 -----------
12 :program:`diagtool` is a combination of four tools for dealing with diagnostics in :program:`clang`.
14 SUBCOMMANDS
15 -----------
17 :program:`diagtool` is separated into several subcommands each tailored to a
18 different purpose. A brief summary of each command follows, with more detail in
19 the sections that follow.
21   * :ref:`find_diagnostic_id` - Print the id of the given diagnostic.
22   * :ref:`list_warnings` - List warnings and their corresponding flags.
23   * :ref:`show_enabled` - Show which warnings are enabled for a given command line.
24   * :ref:`tree` - Show warning flags in a tree view.
26 .. _find_diagnostic_id:
28 find-diagnostic-id
29 ~~~~~~~~~~~~~~~~~~
31 :program:`diagtool` find-diagnostic-id *diagnostic-name*
33 .. _list_warnings:
35 list-warnings
36 ~~~~~~~~~~~~~
38 :program:`diagtool` list-warnings
40 .. _show_enabled:
42 show-enabled
43 ~~~~~~~~~~~~
45 :program:`diagtool` show-enabled [*options*] *filename ...*
47 .. _tree:
49 tree
50 ~~~~
52 :program:`diagtool` tree [*diagnostic-group*]