diff --git a/src/V3AstNodes.h b/src/V3AstNodes.h index 20794b4eb..bb055fb6c 100644 --- a/src/V3AstNodes.h +++ b/src/V3AstNodes.h @@ -8079,9 +8079,7 @@ public: } ASTNODE_NODE_FUNCS(PropClocked) virtual bool hasDType() const { return true; } // Used under Cover, which expects a bool child - AstSenItem* sensesp() const { - return VN_CAST(op1p(), SenItem); - } // op1 = Sensitivity list + AstSenItem* sensesp() const { return VN_CAST(op1p(), SenItem); } // op1 = Sensitivity list AstNode* disablep() const { return op2p(); } // op2 = disable AstNode* propp() const { return op3p(); } // op3 = property }; diff --git a/src/V3Clock.cpp b/src/V3Clock.cpp index 61e952382..a37b2f922 100644 --- a/src/V3Clock.cpp +++ b/src/V3Clock.cpp @@ -140,7 +140,7 @@ private: // Nodep may be a list of elements; we need to walk it AstNode* senEqnp = NULL; for (AstSenItem* senp = nodesp; senp; senp = VN_CAST(senp->nextp(), SenItem)) { - AstNode*const senOnep = createSenItemEquation(senp); + AstNode* const senOnep = createSenItemEquation(senp); if (senEqnp) { // Add new OR to the sensitivity list equation senEqnp = new AstOr(senp->fileline(), senEqnp, senOnep); diff --git a/src/V3Const.cpp b/src/V3Const.cpp index 101ea6b10..097562560 100644 --- a/src/V3Const.cpp +++ b/src/V3Const.cpp @@ -1807,8 +1807,8 @@ private: for (AstSenItem *nextp, *senp = VN_CAST(nodep->sensesp(), SenItem); senp; senp = nextp) { nextp = VN_CAST(senp->nextp(), SenItem); - AstSenItem*const litemp = senp; - AstSenItem*const ritemp = nextp; + AstSenItem* const litemp = senp; + AstSenItem* const ritemp = nextp; if (ritemp) { if ((litemp->varrefp() && ritemp->varrefp() && litemp->varrefp()->sameGateTree(ritemp->varrefp()))