[PATCH] D146827: [diagtool] explain that yellow is used to denote disabled-by-default warnings

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 27 09:41:45 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9ea912fe978d: [diagtool] explain that yellow is used to denote disabled-by-default warnings (authored by nickdesaulniers).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146827/new/

https://reviews.llvm.org/D146827

Files:
  clang/tools/diagtool/TreeView.cpp


Index: clang/tools/diagtool/TreeView.cpp
===================================================================
--- clang/tools/diagtool/TreeView.cpp
+++ clang/tools/diagtool/TreeView.cpp
@@ -127,6 +127,9 @@
   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";
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146827.508702.patch
Type: text/x-patch
Size: 567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230327/f45e78ba/attachment.bin>


More information about the cfe-commits mailing list