OS Manuals

/usr/bin/diagtool

Clang 15 extras

From clang-15-extras 15.0.7-r32 (os), captured 2026-11-05 by running diagtool --help (exit 1). permalink

Also provided by 9 other package versions
usage: diagtool <command> [<args>]

  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

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.