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
diff --git a/utils/scan-build b/utils/scan-build
index e0d53ad..f8d2d8f 100755
--- a/utils/scan-build
+++ b/utils/scan-build
@@ -271,7 +271,7 @@
     return;
   }
   
-  chop $Prefix while (!($x =~ /^$Prefix/));
+  chop $Prefix while (!($x =~ /^\Q$Prefix/));
 }
 
 sub GetPrefix {