[Lldb-commits] [lldb] [lldb] Assert lack of trailing period or newlines in diagnostics (PR #191447)

Sergei Barannikov via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 10 10:20:11 PDT 2026


================
@@ -126,7 +126,7 @@ void CommandObjectDWIMPrint::DoExecute(StringRef command,
       result.AppendNote(
           "object description requested, but type doesn't implement "
           "a custom object description. Consider using \"p\" instead of "
-          "\"po\" (this note will only be shown once per debug session).\n");
+          "\"po\" (this note will only be shown once per debug session).");
----------------
s-barannikov wrote:

```suggestion
          "\"po\" (this note will only be shown once per debug session)");
```

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


More information about the lldb-commits mailing list