[Lldb-commits] [lldb] Support inline diagnostics in CommandReturnObject (PR #110901)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 9 21:32:08 PDT 2024


================
@@ -19,12 +19,45 @@
 #include "lldb/Interpreter/CommandObject.h"
 #include "lldb/Interpreter/CommandReturnObject.h"
 #include "lldb/Target/Target.h"
+#include "lldb/Utility/DiagnosticsRendering.h"
 #include "lldb/Utility/StreamString.h"
 #include "llvm/ADT/STLExtras.h"
 
 using namespace lldb;
 using namespace lldb_private;
 
+namespace lldb_private {
+
+/// An llvm::Error that represents an optino parsing diagnostic.
----------------
JDevlieghere wrote:

```suggestion
/// An llvm::Error that represents an option parsing diagnostic.
```

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


More information about the lldb-commits mailing list