================
@@ -934,6 +943,12 @@ void Breakpoint::GetDescription(Stream *s,
lldb::DescriptionLevel level,
}
s->IndentLess();
}
+
+ // Reset the colors back to normal if they were previously greyed out.
+ if (s->AsRawOstream().colors_enabled())
----------------
JDevlieghere wrote:
The comment says "if they were previously greyed out" but you're not actually
checking that. I think with the helper variable the code is sufficiently
self-explanatory that we can drop the comment.
```suggestion
// Reset the colors back to normal if they were previously greyed out.
if (highlight_disabled)
```
https://github.com/llvm/llvm-project/pull/91404
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits