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

mixing an unsigned literal (`0U`) with a cast to `int32_t` is unusual.  Since 
`src_ref_t` is signed, `int32_t(0)` says the same thing more clearly.

https://github.com/llvm/llvm-project/pull/219018
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to