brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 656ce10 Raw
53 lines · plain
1diagtool - clang diagnostics tool2=================================3 4SYNOPSIS5--------6 7:program:`diagtool` *command* [*args*]8 9DESCRIPTION10-----------11 12:program:`diagtool` is a combination of four tools for dealing with diagnostics in :program:`clang`.13 14SUBCOMMANDS15-----------16 17:program:`diagtool` is separated into several subcommands each tailored to a18different purpose. A brief summary of each command follows, with more detail in19the sections that follow.20 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.25 26.. _find_diagnostic_id:27 28find-diagnostic-id29~~~~~~~~~~~~~~~~~~30 31:program:`diagtool` find-diagnostic-id *diagnostic-name*32 33.. _list_warnings:34 35list-warnings36~~~~~~~~~~~~~37 38:program:`diagtool` list-warnings39 40.. _show_enabled:41 42show-enabled43~~~~~~~~~~~~44 45:program:`diagtool` show-enabled [*options*] *filename ...*46 47.. _tree:48 49tree50~~~~51 52:program:`diagtool` tree [*diagnostic-group*]53