Sfoglia il codice sorgente

scan-build: explicitly say "No bugs found" if there are no reports.

Patch by Martin Storsjo!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176472 91177308-0d34-0410-b5e6-96231b3b80d8
Jordan Rose 12 anni fa
parent
commit
e09b8c41d0
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      tools/scan-build/scan-build

+ 1 - 0
tools/scan-build/scan-build

@@ -505,6 +505,7 @@ sub Postprocess {
       Diag("Removing directory '$Dir' because it contains no reports.\n");
       Diag("Removing directory '$Dir' because it contains no reports.\n");
       system ("rm", "-fR", $Dir);
       system ("rm", "-fR", $Dir);
     }
     }
+    Diag("No bugs found.\n");
     return 0;
     return 0;
   }
   }