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 | 4b7a75dd65b3bbc35d6f34c28d1e2ad70dfdfa33 (patch) | |
| tree | 90395b0f6c67a5f1c334d437f39ec8123531987e /lib/CodeGen/CGExpr.cpp | |
| parent | 18d907edb4104d704701098633694c55cb8de20e (diff) | |
| download | clang-4b7a75dd65b3bbc35d6f34c28d1e2ad70dfdfa33.tar.gz clang-4b7a75dd65b3bbc35d6f34c28d1e2ad70dfdfa33.tar.bz2 clang-4b7a75dd65b3bbc35d6f34c28d1e2ad70dfdfa33.tar.xz | |
[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".
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204356 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
