[LLVMbugs] [Bug 15329] New: Please remove debugging print statement from r174260

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 22 03:37:14 PST 2013


            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: kremenek at apple.com
          Reporter: uspoerlein at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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

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

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130222/47573a4b/attachment.html>

More information about the llvm-bugs mailing list