[Lldb-commits] [lldb] [lldb-dap][NFC] Create a type alias for sourceReference. (PR #219018)

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 27 04:08:41 PDT 2026


================
@@ -29,12 +29,16 @@
 #include <cstdint>
 #include <optional>
 
-#define LLDB_DAP_INVALID_SRC_REF 0
+#define LLDB_DAP_INVALID_SRC_REF int32_t(0U)
----------------
da-viper wrote:

Missed that. Initially I made it uint32_t but changed it int32_t so json conversion still accepts it instead of failing there. 

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


More information about the lldb-commits mailing list