This patch extends DiagnosticIDs::getCustomDiagID to accept an optional
WarningOption argument, which can then be retrieved by diagnostic ID using the
new getWarningOption method. This can be used, e.g. by the static analyzer and
clang-tidy to report the name of specific module/checker producing the
diagnostic.
Details
Details
- Reviewers
jordan_rose
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Alp was trying to move away from getCustomDiagID, so you should probably talk to him about this.