diff options
| author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2015-09-04 11:26:53 +0000 |
|---|---|---|
| committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2015-09-04 11:26:53 +0000 |
| commit | 3c3466529b168e9daee705bcd950eb1d2ea9359a (patch) | |
| tree | 7e5780ee544719f24dca2f22ddfae0d6f90c88c7 /clang/test/OpenMP | |
| parent | caacd53dde6ea46d03abf272aa996957433ce31d (diff) | |
| download | bcm5719-llvm-3c3466529b168e9daee705bcd950eb1d2ea9359a.tar.gz bcm5719-llvm-3c3466529b168e9daee705bcd950eb1d2ea9359a.zip | |
Fix multiple problems in -break-condition command.
1. To handle the expression with spaces, this command uses 2 arguments. For a case
like -break-condition 1 i == 5, the first will pick the 'i' and second will
pick the '== 5'. But the second argument was made mandatory which failed in
cases when there was no space in the expression like i==5.
2. The function GetRestOfExpressionNotSurroundedInQuotes has 2 locals with the
same names. It resulted in one hiding the other and this function always
returned empty string.
No regression on Linux. Committed as obvious.
llvm-svn: 246847
Diffstat (limited to 'clang/test/OpenMP')
0 files changed, 0 insertions, 0 deletions

