[Lldb-commits] [lldb] [lldb][breakpoint] Grey out disabled breakpoints (PR #91404)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 5 05:23:39 PST 2024


================
@@ -47,6 +48,10 @@ class LLDB_API SBStream {
 
   void Print(const char *str);
 
+  bool HasColor();
+
+  void FormatAnsiTerminalCodes(llvm::StringRef format);
----------------
labath wrote:

You can't have a StringRef in the SB API. This needs to be a const char *. All the internal APIs can and should use StringRefs though.

https://github.com/llvm/llvm-project/pull/91404


More information about the lldb-commits mailing list