From: Ted Kremenek Date: Wed, 3 Dec 2008 19:16:58 +0000 (+0000) Subject: Don't have special treatment from pruning the common suffices of files in /Developer... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d489d9cf9ae363055d8f615dceff521ab7f058b0;p=clang Don't have special treatment from pruning the common suffices of files in /Developer, /usr, etc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60491 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/scan-build b/utils/scan-build index f1e26b71a8..6de99874a4 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -281,10 +281,6 @@ sub UpdatePrefix { my $x = shift; my $y = basename($x); $x =~ s/\Q$y\E$//; - - # Ignore /usr, /Library, /System, /Developer - return if ( $x =~ /^\/usr/ or $x =~ /^\/Library/ - or $x =~ /^\/System/ or $x =~ /^\/Developer/); if (!defined $Prefix) { $Prefix = $x;