[Lldb-commits] [PATCH] D152590: Streamline expression parser error messages

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 12 10:32:27 PDT 2023


kastiglione added inline comments.
Herald added a subscriber: Michael137.


================
Comment at: lldb/source/Interpreter/CommandReturnObject.cpp:104
     return;
-  error(GetErrorStream()) << in_string.rtrim() << '\n';
+  // Workaround to deal with already fully formatted compiler diagnostics.
+  llvm::StringRef msg(in_string.rtrim());
----------------
nice


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152590/new/

https://reviews.llvm.org/D152590



More information about the lldb-commits mailing list