From f55fee1cf00a2b1a9595336fb9b1095fa7d09552 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 2 Apr 2025 23:13:43 -0400 Subject: [PATCH] Internals: Fix missing semis; no functional change --- src/V3Case.cpp | 2 +- src/V3EmitCFunc.h | 2 +- src/V3Fork.cpp | 4 ++-- src/V3Gate.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/V3Case.cpp b/src/V3Case.cpp index 57d574f13..9c934b6a7 100644 --- a/src/V3Case.cpp +++ b/src/V3Case.cpp @@ -578,7 +578,7 @@ class CaseVisitor final : public VNVisitor { } //-------------------- void visit(AstAlways* nodep) override { - VL_RESTORER(m_alwaysp) + VL_RESTORER(m_alwaysp); m_alwaysp = nodep; iterateChildren(nodep); } diff --git a/src/V3EmitCFunc.h b/src/V3EmitCFunc.h index ac4530ea1..74d0e85e8 100644 --- a/src/V3EmitCFunc.h +++ b/src/V3EmitCFunc.h @@ -284,7 +284,7 @@ public: if (nodep->emptyBody() && !nodep->isLoose()) return; VL_RESTORER(m_useSelfForThis); VL_RESTORER(m_cfuncp); - VL_RESTORER(m_instantiatesOwnProcess) + VL_RESTORER(m_instantiatesOwnProcess); m_cfuncp = nodep; m_instantiatesOwnProcess = false; diff --git a/src/V3Fork.cpp b/src/V3Fork.cpp index 60b14a268..5ac142bb8 100644 --- a/src/V3Fork.cpp +++ b/src/V3Fork.cpp @@ -619,7 +619,7 @@ class ForkVisitor final : public VNVisitor { VL_RESTORER(m_forkLocalsp); VL_RESTORER(m_newProcess); - VL_RESTORER(m_forkDepth) + VL_RESTORER(m_forkDepth); if (!nodep->joinType().join()) { ++m_forkDepth; m_newProcess = true; @@ -681,7 +681,7 @@ class ForkVisitor final : public VNVisitor { iterateChildren(nodep); } void visit(AstNode* nodep) override { - VL_RESTORER(m_newProcess) + VL_RESTORER(m_newProcess); VL_RESTORER(m_forkDepth); if (nodep->user1()) --m_forkDepth; m_newProcess = false; diff --git a/src/V3Gate.cpp b/src/V3Gate.cpp index b5269027a..c31800e9c 100644 --- a/src/V3Gate.cpp +++ b/src/V3Gate.cpp @@ -219,7 +219,7 @@ class GateBuildVisitor final : public VNVisitorConst { const char* consumeReason = nullptr) { UASSERT_OBJ(m_scopep, nodep, "Logic not under Scope"); UASSERT_OBJ(!m_logicVertexp, nodep, "Logic blocks should not nest"); - VL_RESTORER(m_logicVertexp) + VL_RESTORER(m_logicVertexp); // m_activep is null under AstCFunc's, that's ok. m_logicVertexp = new GateLogicVertex{m_graphp, nodep, m_activep, slow};