[Lldb-commits] [lldb] [lldb-dap] Refactoring JSONUtils to not use `g_dap` and instead passing in required arguments. (PR #115561)
Adrian Vogelsgesang via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 8 17:43:23 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);
----------------
vogelsgesang wrote:
ah, you are using clang-tidy? I always always get those warnings 😄
https://github.com/llvm/llvm-project/pull/115561
More information about the lldb-commits
mailing list