[Lldb-commits] [lldb] [lldb-dap] Refactoring JSONUtils to not use `g_dap` and instead passing in required arguments. (PR #115561)
John Harrison via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 8 18:03:39 PST 2024
================
@@ -154,7 +154,7 @@ DecodeMemoryReference(llvm::StringRef memoryReference) {
std::vector<std::string> GetStrings(const llvm::json::Object *obj,
llvm::StringRef key) {
std::vector<std::string> strs;
- auto json_array = obj->getArray(key);
+ const auto *json_array = obj->getArray(key);
----------------
ashgti wrote:
Yea, trying to fix those as I work on refactoring `g_dap`.
https://github.com/llvm/llvm-project/pull/115561
More information about the lldb-commits
mailing list