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 different purpose. A brief summary of each command follows, with more detail in the sections that follow.
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]