Fix a bug related to arg escaping, and add unit tests.
authorZachary Turner <zturner@google.com>
Sat, 14 Mar 2015 23:39:42 +0000 (23:39 +0000)
committerZachary Turner <zturner@google.com>
Sat, 14 Mar 2015 23:39:42 +0000 (23:39 +0000)
commit073951f28be014cb3f723da7fff1081454da9035
tree470fd4d5a15f19e1ce56874ab1545ee25e8c3210
parenteeba1a896a6f038557e3a643413a9d3be1634dee
Fix a bug related to arg escaping, and add unit tests.

A recent refactor had introduced a bug where if you escaped a
character, the rest of the string would get processed incorrectly.

This patch fixes that bug and adds some unit tests for Args.

llvm-svn: 232288
lldb/source/Interpreter/Args.cpp
lldb/unittests/CMakeLists.txt
lldb/unittests/Interpreter/CMakeLists.txt [new file with mode: 0644]
lldb/unittests/Interpreter/TestArgs.cpp [new file with mode: 0644]