This revision was automatically updated to reflect the committed changes.
Closed by commit rL307813: [diagtool] Add a 'find-diagnostic-id' subcommand
that converts a name of (authored by arphaman).
Changed prior to commit:
https://reviews.llvm.org/D35306?vs=106211&id=106245#toc
Repository:
r
hintonda accepted this revision.
hintonda added a comment.
This revision is now accepted and ready to land.
LGTM.
Category ids' might be useful, but I'd wait until someone actually needs them.
Repository:
rL LLVM
https://reviews.llvm.org/D35306
arphaman created this revision.
Herald added a subscriber: mgorny.
The new subcommand prints out the enum value of the diagnostic. This will be
used in a utility script that invokes clang and forces it to stop when some
specific diagnostic is emitted (see https://reviews.llvm.org/D35175 for
dis