[Lldb-commits] [lldb] [lldb-dap] Refactor variablesReference storage and scope management. (PR #179262)
Sergei Druzhkov via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 2 23:45:25 PST 2026
================
@@ -9,21 +9,29 @@
#ifndef LLDB_TOOLS_LLDB_DAP_VARIABLES_H
#define LLDB_TOOLS_LLDB_DAP_VARIABLES_H
+#include "Protocol/ProtocolRequests.h"
#include "Protocol/ProtocolTypes.h"
+#include "lldb/API/SBFrame.h"
#include "lldb/API/SBValue.h"
#include "lldb/API/SBValueList.h"
-#include "llvm/ADT/DenseMap.h"
-#include <map>
-#include <optional>
-#include <utility>
+#include "llvm/Support/ErrorHandling.h"
+#include <limits>
namespace lldb_dap {
+struct VariableReferenceStorage;
enum ScopeKind : unsigned {
eScopeKindLocals,
eScopeKindGlobals,
eScopeKindRegisters
};
+
+enum ReferenceKind : uint32_t {
----------------
DrSergei wrote:
nit: `unsigned`
https://github.com/llvm/llvm-project/pull/179262
More information about the lldb-commits
mailing list