diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-09-11 21:15:10 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-09-11 21:15:10 +0000 |
commit | 20b2bae90c102f405ba70f602c45660ce1cd0c4e (patch) | |
tree | 62c39b22d79dbf987b60a210b9181eb2f5330cee | |
parent | 3e877ec791fb8f4b752b3193021c86b878082a4c (diff) |
Bug fix: <rdar://problem/6164367>
scan-build now correctly processes path prefixes that contain multiple '+'
characters or other regex control characters.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56121 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/scan-build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/scan-build b/utils/scan-build index e0d53ad93d..f8d2d8f42b 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -271,7 +271,7 @@ sub UpdatePrefix { return; } - chop $Prefix while (!($x =~ /^$Prefix/)); + chop $Prefix while (!($x =~ /^\Q$Prefix/)); } sub GetPrefix { |