[clang][tablegen] adds human documentation to `WarningOption`
authorChristopher Di Bella <cjdb@google.com>
Wed, 1 Jun 2022 22:12:38 +0000 (22:12 +0000)
committerChristopher Di Bella <cjdb@google.com>
Fri, 10 Jun 2022 17:23:00 +0000 (17:23 +0000)
commitf21187eb2d943c1407ae764b87f73602177dcba8
tree13833ab52759a600a062982e66385c5d182a4247
parent78d8fdb88bc3cb4ce2f243ecf725bd33128d70dd
[clang][tablegen] adds human documentation to `WarningOption`

Building on D126796, this commit adds the infrastructure for being able
to print out descriptions of what each warning does.

Differential Revision: https://reviews.llvm.org/D126832
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/DiagnosticCategories.h
clang/include/clang/Basic/DiagnosticIDs.h
clang/lib/Basic/DiagnosticIDs.cpp
clang/tools/diagtool/DiagnosticNames.cpp
clang/utils/TableGen/ClangDiagnosticsEmitter.cpp