[Lldb-commits] [lldb] [lldb] Add Status::Detail to store expression evaluator diagnostics [… (PR #106442)

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 28 12:58:00 PDT 2024


================
@@ -130,13 +120,17 @@ class DiagnosticManager {
       m_diagnostics.back()->AppendMessage(str);
   }
 
-  // Returns a string containing errors in this format:
-  //
-  // "error: error text\n
-  // warning: warning text\n
-  // remark text\n"
+  /// Returns a string containing errors in this format:
+  ///
+  ///     "error: error text\n
+  ///     warning: warning text\n
+  ///     remark text\n"
+  LLVM_DEPRECATED("Use GetAsStatus instead", "GetAsStatus()")
----------------
medismailben wrote:

Why does this need to be marked deprecated ? It's internal API, we could just get rid of it, right ?

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


More information about the lldb-commits mailing list