diff options
author | Jordan Rose <jordan_rose@apple.com> | 2014-03-20 16:37:54 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2014-03-20 16:37:54 +0000 |
commit | 428f2e980a6420796e407a78cc8671b4a5a0b76f (patch) | |
tree | 2a2a055bc6348b8edcc8cbe3851bdc99a7149641 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | |
parent | 134a8a631199553bd291bc0bffc148fd9c853eac (diff) | |
download | llvm-428f2e980a6420796e407a78cc8671b4a5a0b76f.zip llvm-428f2e980a6420796e407a78cc8671b4a5a0b76f.tar.gz llvm-428f2e980a6420796e407a78cc8671b4a5a0b76f.tar.bz2 |
[analyzer] scan-build: match whitespace instead of word boundaries around flags.
Because neither ' ' nor '-' is alphanumeric, \b won't match between them!
Since in this case we know our output is coming from a -### invocation,
we should always have spaces on both sides of the flag we're trying to match,
"-cc1".
llvm-svn: 204356
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
0 files changed, 0 insertions, 0 deletions