Internals: clang-format

This commit is contained in:
Wilson Snyder 2020-07-10 18:08:04 -04:00
parent 0674267333
commit 75d255a3bf
3 changed files with 4 additions and 6 deletions

View File

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

View File

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

View File

@ -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()))