[llvm] [llvm-cov][CoverageView] minor fix/improvement to HTML and text coverage output (PR #80952)

Alan Phipps via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 08:41:02 PST 2024


================
@@ -990,15 +993,13 @@ void SourceCoverageViewHTML::renderMCDCView(raw_ostream &OS, MCDCView &MRV,
     std::string ColNoStr = Twine(DecisionRegion.ColumnStart).str();
     std::string TargetName = "L" + LineNoStr;
     OS << tag("span",
-              a("#" + TargetName, tag("span", LineNoStr + ":" + ColNoStr),
-                TargetName),
+              a("#" + TargetName, tag("span", LineNoStr + ":" + ColNoStr)),
----------------
evodius96 wrote:

Ah, ok I see what you're saying.  This is definitely a bug.

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


More information about the llvm-commits mailing list