Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

diagtool (1)

Name

diagtool - clang diagnostics tool

Synopsis

diagtool command [args]

Description

DIAGTOOL(1)                          Clang                         DIAGTOOL(1)



NAME
       diagtool - clang diagnostics tool

SYNOPSIS
       diagtool command [args]

DESCRIPTION
       diagtool is a combination of four tools for dealing with diagnostics in
       clang.

SUBCOMMANDS
       diagtool is separated into several subcommands each tailored to a  dif-
       ferent  purpose.  A  brief  summary  of each command follows, with more
       detail in the sections that follow.

          o find-diagnostic-id - Print the id of the given diagnostic.

          o list-warnings - List warnings and their corresponding flags.

          o show-enabled - Show which warnings are enabled for a given command
            line.

          o 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>)

COPYRIGHT
       2007-2022, The Clang Team



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE    |
       +---------------+----------------------+
       |Availability   | developer/llvm/clang |
       +---------------+----------------------+
       |Stability      | Uncommitted          |
       +---------------+----------------------+

NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source     was     downloaded    from     https://github.com/llvm/llvm-
       project/releases/download/llvmorg-11.0.0/llvm-11.0.0.src.tar.xz.

       Further information about this software can be found on the open source
       community website at https://llvm.org/.



11                               Jun 28, 2022                      DIAGTOOL(1)