[Lldb-commits] [lldb] [lldb] Highlight "note:" in CommandReturnObject (PR #114610)

Augusto Noronha via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 1 15:27:51 PDT 2024


================
@@ -110,6 +110,11 @@ class CommandReturnObject {
   void AppendMessageWithFormat(const char *format, ...)
       __attribute__((format(printf, 2, 3)));
 
+  void AppendNote(llvm::StringRef in_string);
+
+  void AppendNoteWithFormat(const char *format, ...)
+      __attribute__((format(printf, 2, 3)));
----------------
augusto2112 wrote:

Nice, didn't know about `__attribute__((format(printf`

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


More information about the lldb-commits mailing list