1 1.1 joerg diagtool - clang diagnostics tool 2 1.1 joerg ================================= 3 1.1 joerg 4 1.1 joerg SYNOPSIS 5 1.1 joerg -------- 6 1.1 joerg 7 1.1 joerg :program:`diagtool` *command* [*args*] 8 1.1 joerg 9 1.1 joerg DESCRIPTION 10 1.1 joerg ----------- 11 1.1 joerg 12 1.1 joerg :program:`diagtool` is a combination of four tools for dealing with diagnostics in :program:`clang`. 13 1.1 joerg 14 1.1 joerg SUBCOMMANDS 15 1.1 joerg ----------- 16 1.1 joerg 17 1.1 joerg :program:`diagtool` is separated into several subcommands each tailored to a 18 1.1 joerg different purpose. A brief summary of each command follows, with more detail in 19 1.1 joerg the sections that follow. 20 1.1 joerg 21 1.1 joerg * :ref:`find_diagnostic_id` - Print the id of the given diagnostic. 22 1.1 joerg * :ref:`list_warnings` - List warnings and their corresponding flags. 23 1.1 joerg * :ref:`show_enabled` - Show which warnings are enabled for a given command line. 24 1.1 joerg * :ref:`tree` - Show warning flags in a tree view. 25 1.1 joerg 26 1.1 joerg .. _find_diagnostic_id: 27 1.1 joerg 28 1.1 joerg find-diagnostic-id 29 1.1 joerg ~~~~~~~~~~~~~~~~~~ 30 1.1 joerg 31 1.1 joerg :program:`diagtool` find-diagnostic-id *diagnostic-name* 32 1.1 joerg 33 1.1 joerg .. _list_warnings: 34 1.1 joerg 35 1.1 joerg list-warnings 36 1.1 joerg ~~~~~~~~~~~~~ 37 1.1 joerg 38 1.1 joerg :program:`diagtool` list-warnings 39 1.1 joerg 40 1.1 joerg .. _show_enabled: 41 1.1 joerg 42 1.1 joerg show-enabled 43 1.1 joerg ~~~~~~~~~~~~ 44 1.1 joerg 45 1.1 joerg :program:`diagtool` show-enabled [*options*] *filename ...* 46 1.1 joerg 47 1.1 joerg .. _tree: 48 1.1 joerg 49 1.1 joerg tree 50 1.1 joerg ~~~~ 51 1.1 joerg 52 1.1 joerg :program:`diagtool` tree [*diagnostic-group*] 53