aprantl added a comment.
Can this be tested?
Comment at: tools/diagtool/ListWarningFlags.cpp:36
+ for (ArrayRef::iterator di = AllDiagnostics.begin(),
+de = AllDiagnostics.end();
+ di != de; ++di) {
range-based
JDevlieghere created this revision.
JDevlieghere added a project: clang.
Herald added a subscriber: mgorny.
This patch adds a new tool to diagnostic tool called `list-warning-flags` to
display only warnings that have a corresponding -W flag.
While we already have `list-warnings`, the output cont