[Lldb-commits] [PATCH] D32930: New framework for lldb client-server communication tests.

Takuto Ikuta via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon May 8 06:24:34 PDT 2017


takuto.ikuta added inline comments.


================
Comment at: unittests/CMakeLists.txt:57
 add_subdirectory(Breakpoint)
+add_subdirectory(tools)
 add_subdirectory(Core)
----------------
better to sort alphabetically?
Using tools instead of Tools intentionally?


================
Comment at: unittests/tools/lldb-server/inferior/thread_inferior.cpp:6
+
+using namespace std;
+
----------------
Need to remove this?


================
Comment at: unittests/tools/lldb-server/tests/MessageObjects.cpp:133
+
+  for (auto i = elements.begin(); i != elements.end(); i++) {
+    if (i->first[0] == 'T' && i->first.substr(3, 6) == "thread") {
----------------
Why not range based for?


https://reviews.llvm.org/D32930





More information about the lldb-commits mailing list