1DIAGTOOL(1) Clang DIAGTOOL(1)
2
3
4
6 diagtool - clang diagnostics tool
7
9 diagtool command [args]
10
12 diagtool is a combination of four tool for dealing with diagnostics in
13 clang.
14
16 diagtool is separated into several subcommands each tailored to a dif‐
17 ferent purpose. A brief summary of each command follows, with more
18 detail in the sections that follow.
19
20 · find-diagnostic-id - Print the id of the given diagnostic.
21
22 · list-warnings - List warnings and their corresponding flags.
23
24 · show-enabled - Show which warnings are enabled for a given command
25 line.
26
27 · tree - Show warning flags in a tree view.
28
29 find-diagnostic-id
30 diagtool find-diagnostic-id diagnostic-name
31
32 list-warnings
33 diagtool list-warnings
34
35 show-enabled
36 diagtool show-enabled [options] filename ...
37
38 tree
39 diagtool tree [diagnostic-group]
40
42 Maintained by the Clang / LLVM Team (<http://clang.llvm.org>)
43
45 2007-2019, The Clang Team
46
47
48
49
507 Mar 10, 2019 DIAGTOOL(1)