[PATCH] D23486: [llvm-cov] Add coverage summary information to the HTML index page.

Ying Yi via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 04:41:02 PDT 2016


MaggieYi added a subscriber: MaggieYi.

================
Comment at: CodeCoverage.cpp:655
@@ -654,3 +654,3 @@
   if (ViewOpts.hasOutputDirectory()) {
-    if (Error E = Printer->createIndexFile(SourceFiles)) {
+    if (Error E = Printer->createIndexFile(SourceFiles, *Coverage)) {
       error("Could not create index file!", toString(std::move(E)));
----------------
You don’t need to pass the ‘SourceFiles’ as a parameter anymore since you can get them by calling Coverage->getUniqueSourceFiles().


https://reviews.llvm.org/D23486





More information about the llvm-commits mailing list