================
@@ -967,17 +967,23 @@ llvm::json::Value CreateThreadStopped(DAP &dap, 
lldb::SBThread &thread,
       body.try_emplace("reason", "exception");
       EmplaceSafeString(body, "description", exc_bp->label);
     } else {
+      std::string reason = "breakpoint";
----------------
jeffreytan81 wrote:

You do not need to create a `std::string` object, simply use StringRef or char 
* is enough.

https://github.com/llvm/llvm-project/pull/130841
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to