[llvm-commits] [PATCH] Bug fix for comma-separated in CommandLine.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Tue Oct 6 09:15:38 PDT 2009

Dear all,

This simple patch fixes a bug in the CommaSeparated option in 
CommandLine. The current code does the following:

For an arg written like this: -myarg=foo,bar
It does myarg.push_back("foo") and myargs.push_back("foo,bar").

The patch fixes the issue. I'm not sure if it follows the logic of all 
options in CommandLine.cpp, so I refer to someone who better knows the code.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: commasep.patch
Type: text/x-patch
Size: 401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091006/4dabafeb/attachment.bin>

More information about the llvm-commits mailing list