From 61f21f22fcfb9c15c8d720fc1f91e039beb8fe53 Mon Sep 17 00:00:00 2001 From: Nick Brereton Date: Mon, 2 Mar 2026 21:01:36 -0500 Subject: [PATCH] fix struct final, fix formatting --- src/V3Tristate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/V3Tristate.cpp b/src/V3Tristate.cpp index 981b5ccfd..4516beaa9 100644 --- a/src/V3Tristate.cpp +++ b/src/V3Tristate.cpp @@ -725,7 +725,7 @@ class TristateVisitor final : public TristateBaseVisitor { // (different VarXRef dotted paths) must be processed separately. // E.g. io_ifc.d and io_ifc_local.d both target the same AstVar d in // the ifc interface, but each instance needs its own contribution slot. - struct PartitionInfo { + struct PartitionInfo final { RefStrengthVec refs; string inlinedDots; }; @@ -745,7 +745,7 @@ class TristateVisitor final : public TristateBaseVisitor { findModportForDotted(nodep, kv.first)); } } else if (VN_IS(nodep, Iface)) { - // Local driver in an interface module — use contribution mechanism + // Local driver in an interface module - use contribution mechanism // so it can be combined with any external drivers later insertTristatesSignal(nodep, invarp, refsp, true, "", "", nullptr); } else {