1DIAGTOOL(1)                          Clang                         DIAGTOOL(1)
2
3
4

NAME

6       diagtool - clang diagnostics tool
7

SYNOPSIS

9       diagtool command [args]
10

DESCRIPTION

12       diagtool is a combination of four tools for dealing with diagnostics in
13       clang.
14

SUBCOMMANDS

16       diagtool is separated into several subcommands each tailored to a  dif‐
17       ferent  purpose. A brief summary of each command follows, with more de‐
18       tail in the sections that follow.
19
20find-diagnostic-id - Print the id of the given diagnostic.
21
22list-warnings - List warnings and their corresponding flags.
23
24show-enabled - Show which warnings are enabled for a given command
25            line.
26
27tree - 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

AUTHOR

42       Maintained by the Clang / LLVM Team (<http://clang.llvm.org>)
43
45       2007-2023, The Clang Team
46
47
48
49
5016                               Aug 24, 2023                      DIAGTOOL(1)
Impressum