1 diagtool - clang diagnostics tool
2 =================================
7 :program:`diagtool` *command* [*args*]
12 :program:`diagtool` is a combination of four tools for dealing with diagnostics in :program:`clang`.
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:
31 :program:`diagtool` find-diagnostic-id *diagnostic-name*
38 :program:`diagtool` list-warnings
45 :program:`diagtool` show-enabled [*options*] *filename ...*
52 :program:`diagtool` tree [*diagnostic-group*]