[Lldb-commits] [PATCH] D115126: [LLDB} Add unit tests for Editline keyboard shortcuts

Neal via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Dec 5 14:08:10 PST 2021


nealsid created this revision.
nealsid added a reviewer: LLDB.
nealsid added a project: LLDB.
Herald added a subscriber: JDevlieghere.
nealsid requested review of this revision.
Herald added a subscriber: lldb-commits.

This patch adds tests that verify keyboard shortcuts are set up for multi-line/single-line mode.  Along the way I also added a few other small changes:

- Removed usage of shared_ptr in a case where object ownership was not shared.
- Changed a file's open mode to be read/write.
- Removed non-emacs configuration of keyboard shortcuts, because Editline config is hardcoded to "emacs" in ConfigureEditor.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115126

Files:
  lldb/include/lldb/Host/Editline.h
  lldb/source/Host/common/Editline.cpp
  lldb/unittests/Editline/EditlineTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115126.391941.patch
Type: text/x-patch
Size: 12553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211205/8eee50e8/attachment.bin>


More information about the lldb-commits mailing list