[cfe-commits] r60491 - /cfe/trunk/utils/scan-build

Ted Kremenek kremenek at apple.com
Wed Dec 3 11:17:04 PST 2008


Author: kremenek
Date: Wed Dec  3 13:16:58 2008
New Revision: 60491

URL: http://llvm.org/viewvc/llvm-project?rev=60491&view=rev
Log:
Don't have special treatment from pruning the common suffices of files in /Developer, /usr, etc.

Modified:
    cfe/trunk/utils/scan-build

Modified: cfe/trunk/utils/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=60491&r1=60490&r2=60491&view=diff

==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Wed Dec  3 13:16:58 2008
@@ -281,10 +281,6 @@
   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;





More information about the cfe-commits mailing list