[Lldb-commits] [lldb] [lldb-dap] Adjusting how repl-mode auto determines commands vs variable expressions. (PR #78005)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 16 09:56:32 PST 2024


================
@@ -380,12 +380,19 @@ llvm::json::Value DAP::CreateTopLevelScopes() {
   return llvm::json::Value(std::move(scopes));
 }
 
-ExpressionContext DAP::DetectExpressionContext(lldb::SBFrame &frame,
-                                               std::string &text) {
+static std::string FirstTerm(llvm::StringRef input) {
----------------
ashgti wrote:

I ended up re-writing this to inline the helper.

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


More information about the lldb-commits mailing list