Internals: Fix missing semis; no functional change

This commit is contained in:
Wilson Snyder 2025-04-02 23:13:43 -04:00
parent 353a4b7b4a
commit f55fee1cf0
4 changed files with 5 additions and 5 deletions

View File

@ -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);
}

View File

@ -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;

View File

@ -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;

View File

@ -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};