aadsm marked an inline comment as done.
aadsm added inline comments.

================
Comment at: 
lldb/unittests/tools/lldb-server/tests/CommunicationServerTest.cpp:40-42
+    for (size_t i = 0; i < dst_len; i++) {
+      packet.append(1, *(static_cast<const char *>(dst) + i));
+    }
----------------
Is there a better way to do this? I found the copy function but it accepts a 
`char *`, not a `const char *`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62499/new/

https://reviews.llvm.org/D62499



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to