DIAGTOOL(1)

πŸ“¦
version 22.1.8 Β· 3 versions
, in fedora 44

πŸ’… DIAGTOOL(1) β€” the clang diagnostics tool, bestie edition πŸŽ€

okay so welcome to the Clang manual page for diagtool, and honestly? she's a whole vibe. let's get into it ✨


✨ NAME ✨

diagtool β€” clang diagnostics tool

πŸ¦‹ SYNOPSIS πŸ¦‹

diagtool command [args]

🌸 DESCRIPTION 🌸

okay so diagtool is literally a combination of four tools for dealing with diagnostics in clang. four. a little squad. a friend group, if you will 🫢

πŸ‘‘ SUBCOMMANDS πŸ‘‘

diagtool is separated into several subcommands, each one tailored to a different purpose. here's a lil summary of each command, and the more detailed sections follow 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>)

2007-2026, The Clang Team


and that's the whole page, bestie πŸ’… the source is the Clang manual, version/date line reads 22 / Jul 16, 2026, and this lil page is DIAGTOOL(1) through and through. no cap. slay, go read ur diagnostics πŸŒŸπŸ‘‘

πŸ“¦ where this page comes from