[llvm] [llvm-cov] Coverage report HTML UI to jump between uncovered parts of code (PR #95662)

via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 16 23:44:09 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 1644a31ae93177e1d046878a480ce95484882b2b 62afaa02c6913d348601ad719cb77721fb2ce8f3 -- llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp llvm/tools/llvm-cov/SourceCoverageView.cpp llvm/tools/llvm-cov/SourceCoverageView.h llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp llvm/tools/llvm-cov/SourceCoverageViewHTML.h llvm/tools/llvm-cov/SourceCoverageViewText.cpp llvm/tools/llvm-cov/SourceCoverageViewText.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp b/llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
index 674ae9d576..ad702de19b 100644
--- a/llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
+++ b/llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
@@ -867,7 +867,7 @@ Error CoveragePrinterHTMLDirectory::createIndexFile(
   // Emit the default stylesheet.
   if (Error E = emitStyleSheet())
     return E;
-  
+
   // Emit the JavaScript UI implementation
   if (Error E = emitJavaScript())
     return E;

``````````

</details>


https://github.com/llvm/llvm-project/pull/95662


More information about the llvm-commits mailing list