.\" Man page generated from reStructuredText .\" by the Docutils 0.22.3 manpage writer. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "DIAGTOOL" "1" "Dec 26, 2025" "21" "Clang" .SH NAME diagtool \- clang diagnostics tool .SH SYNOPSIS .sp \fBdiagtool\fP \fIcommand\fP [\fIargs\fP] .SH DESCRIPTION .sp \fBdiagtool\fP is a combination of four tools for dealing with diagnostics in \fBclang\fP\&. .SH SUBCOMMANDS .sp \fBdiagtool\fP is separated into several subcommands each tailored to a different purpose. A brief summary of each command follows, with more detail in the sections that follow. .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .IP \(bu 2 find\-diagnostic\-id \- Print the id of the given diagnostic. .IP \(bu 2 list\-warnings \- List warnings and their corresponding flags. .IP \(bu 2 show\-enabled \- Show which warnings are enabled for a given command line. .IP \(bu 2 tree \- Show warning flags in a tree view. .UNINDENT .UNINDENT .UNINDENT .SS find\-diagnostic\-id .sp \fBdiagtool\fP find\-diagnostic\-id \fIdiagnostic\-name\fP .SS list\-warnings .sp \fBdiagtool\fP list\-warnings .SS show\-enabled .sp \fBdiagtool\fP show\-enabled [\fIoptions\fP] \fIfilename ...\fP .SS tree .sp \fBdiagtool\fP tree [\fIdiagnostic\-group\fP] .SH Author Maintained by the Clang / LLVM Team () .SH Copyright 2007-2025, The Clang Team .\" End of generated man page.