teemperor added a comment.

Just a quick comment while I look into how we can test this code.



================
Comment at: lldb/source/Host/common/Editline.cpp:1017
+          el_insertstr(m_editline, to_add.c_str());
+          return CC_REFRESH;
+        }
----------------
If I understand the only effect this whole code has is to return CC_REFRESH 
instead of CC_REDISPLAY? If yes, then I think you can just replace the `break` 
below with `return CC_REFRESH;` which will be much simpler.


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

https://reviews.llvm.org/D81001



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

Reply via email to