http://llvm.org/bugs/show_bug.cgi?id=15329

            Bug ID: 15329
           Summary: Please remove debugging print statement from r174260
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Static Analyzer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

You introduced the FileWanted sub in r174260 and it has a (debugging) print
statement:

sub FileWanted {
    my $baseDirRegEx = quotemeta $baseDir;
    my $file = $File::Find::name;
    if ($file =~ /report-.*\.html$/) {
       my $relative_file = $file;
       $relative_file =~ s/$baseDirRegEx//g;
       push @filesFound, $relative_file;
       print $relative_file;
    }
}

This messes up the output like so:

report-XxDAZi.htmlreport-xorNXq.htmlscan-build: 1 bugs found.
scan-build: Run 'scan-view
/data/scan-build/freebsd-head/lib.libauditd/2013-02-21-1' to examine bug
reports.

Where you get an absurdly long line of report-foo.html when you have hundreds
of bugs.

Please remove the print statement, thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to