Roll back r82348, which introduced an infinite loop in ParseCStringVector() that
authorJeffrey Yasskin <jyasskin@google.com>
Thu, 24 Sep 2009 01:14:07 +0000 (01:14 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Thu, 24 Sep 2009 01:14:07 +0000 (01:14 +0000)
commit1d75d3a8ae5c682521e2a3968a132236ad47f410
treeccd2840351495cf9b535f6f1ad97d950146b8794
parentd5405a67d5c5f3255fcc01d20d6a38951fcf1231
Roll back r82348, which introduced an infinite loop in ParseCStringVector() that
a trivial unittest would have caught.  This revision also adds the trivial
unittest.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82675 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/CommandLine.cpp
unittests/Support/CommandLineTest.cpp [new file with mode: 0644]