DIAGTOOL(1)
π DIAGTOOL(1) β the clang diagnostics tool, bestie edition π
okay so picture this: it's page 1 of the manual, the source is Clang, and the whole vibe is "let's actually figure out what clang's diagnostics are doing." welcome to diagtool. π
β¨ NAME β¨
diagtool β the clang diagnostics tool. that's it, that's the name, short and iconic. π
πΈ SYNOPSIS πΈ
diagtool command [args]
π¦ DESCRIPTION π¦
diagtool is literally a combination of four tools for dealing with diagnostics in clang. four. a whole squad. π«Ά
π SUBCOMMANDS π
diagtool is separated into several subcommands, and each one is tailored to a different purpose (main character energy, each of them). here's a lil summary of every command, and the deets come in the sections right after. β¨
find-diagnostic-idβ print the id of the given diagnostic. πlist-warningsβ list warnings and their corresponding flags. πshow-enabledβ show which warnings are enabled for a given command line. βtreeβ show warning flags in a tree view. π³
π find-diagnostic-id π
diagtool find-diagnostic-id diagnostic-name
π list-warnings π
diagtool list-warnings
π show-enabled π
diagtool show-enabled [options] filename ...
π§ tree π§
diagtool tree [diagnostic-group]
β AUTHOR β
maintained by the Clang / LLVM Team (<http://clang.llvm.org>). they're keeping the lights on, no cap. π
π₯ COPYRIGHT π₯
2007-2026, The Clang Team. periodt. π
and that's the whole page, bestie β Clang, version 19, dated Mar 11, 2026, and it's DIAGTOOL(1) all the way down. go forth and vibe check ur diagnostics β¨π
π¦
π¦ where this page comes from
- fedora 43: clang19-tools-extra 19.1.7-16.fc43 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- fedora 43: clang19-tools-extra 19.1.7-16.fc43 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms