From 8ec373ec48c3508417cff281081054d30949b279 Mon Sep 17 00:00:00 2001 From: Tomasz Gorochowik Date: Tue, 31 Dec 2024 17:34:12 +0100 Subject: [PATCH] Minimize toggle comments Signed-off-by: Tomasz Gorochowik --- src/V3Coverage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3Coverage.cpp b/src/V3Coverage.cpp index 04bdbba341..71f656e780 100644 --- a/src/V3Coverage.cpp +++ b/src/V3Coverage.cpp @@ -302,7 +302,7 @@ class CoverageVisitor final : public VNVisitor { snprintf(comment, 100, "toggle_%p_", m_modp); AstCoverToggle* const newp = new AstCoverToggle{ varp->fileline(), - newCoverInc(varp->fileline(), "", "v_toggle", string(comment) + varp->name() + above.m_comment, "", 0, + newCoverInc(varp->fileline(), "", "v_toggle", comment, "", 0, ""), above.m_varRefp->cloneTree(true), above.m_chgRefp->cloneTree(true)}; m_modp->addStmtsp(newp);