Author: Nick Desaulniers Date: 2023-03-27T09:41:30-07:00 New Revision: 9ea912fe978df3057a74542d9e22d871e2b899dd
URL: https://github.com/llvm/llvm-project/commit/9ea912fe978df3057a74542d9e22d871e2b899dd DIFF: https://github.com/llvm/llvm-project/commit/9ea912fe978df3057a74542d9e22d871e2b899dd.diff LOG: [diagtool] explain that yellow is used to denote disabled-by-default warnings This is already implied, but let's just be explicit about it. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D146827 Added: Modified: clang/tools/diagtool/TreeView.cpp Removed: ################################################################################ diff --git a/clang/tools/diagtool/TreeView.cpp b/clang/tools/diagtool/TreeView.cpp index 92d92aa90699b..4f5d3fd3ef0a8 100644 --- a/clang/tools/diagtool/TreeView.cpp +++ b/clang/tools/diagtool/TreeView.cpp @@ -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"; } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits