[Lldb-commits] [PATCH] D12531: Fix tab completion for command arguments containing spaces

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 1 07:17:25 PDT 2015


tberghammer created this revision.
tberghammer added reviewers: labath, clayborg.
tberghammer added a subscriber: lldb-commits.

Fix tab completion for command arguments containing spaces

If a command argument contains a space then it have to be escaped with backslash signs so the argument parsing logic can parse it properly. This CL fixes the tab completion code for the arguments to create completions with correctly escaped strings.

http://reviews.llvm.org/D12531

Files:
  source/Interpreter/Options.cpp
  test/functionalities/completion/Makefile
  test/functionalities/completion/TestCompletion.py
  test/functionalities/completion/main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12531.33688.patch
Type: text/x-patch
Size: 3982 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150901/a2b7b1c2/attachment-0001.bin>


More information about the lldb-commits mailing list