DIAGTOOL(1)

πŸ“¦ version 17.0.6, in opensuse-leap 16.0

πŸŽ€ DIAGTOOL(1) β€” the Clang diagnostics tool πŸŽ€

okay so this is the manual page for diagtool, and we’re in the Clang manual, bestie. It’s a whole little toolkit for diagnostics in clang. No cap. ✨

✨ NAME ✨

diagtool β€” clang diagnostics tool. That’s the name, that’s the vibe. πŸ’…

🌸 SYNOPSIS 🌸

diagtool command [args]

πŸ’– DESCRIPTION πŸ’–

diagtool is literally a combination of four tools for dealing with diagnostics in clang. Four! A little squad of diagnostic helpers, all under one command. 🫢

πŸ¦‹ SUBCOMMANDS πŸ¦‹

diagtool 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. Organized queen behavior. πŸ‘‘

  • 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-2023, The Clang Team


okay bye bestie, go be iconic with your diagnostics πŸ’œ this page is serving DIAGTOOL(1) with version 17, dated Dec 01, 2023 ✨

πŸ“¦ where this page comes from