Skip to content

Commit

Permalink
[diagtool] explain that yellow is used to denote disabled-by-default …
Browse files Browse the repository at this point in the history
…warnings

This is already implied, but let's just be explicit about it.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D146827
  • Loading branch information
nickdesaulniers committed Mar 27, 2023
1 parent b530e1a commit 9ea912f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clang/tools/diagtool/TreeView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ class TreePrinter {
void showKey() {
out << '\n' << Colors::GREEN << "GREEN" << Colors::RESET
<< " = enabled by default";
out << '\n'
<< Colors::YELLOW << "YELLOW" << Colors::RESET
<< " = disabled by default";
out << '\n' << Colors::RED << "RED" << Colors::RESET
<< " = unimplemented (accepted for GCC compatibility)\n\n";
}
Expand Down

0 comments on commit 9ea912f

Please sign in to comment.