Internals: clang-format
This commit is contained in:
parent
0674267333
commit
75d255a3bf
|
|
@ -8079,9 +8079,7 @@ public:
|
||||||
}
|
}
|
||||||
ASTNODE_NODE_FUNCS(PropClocked)
|
ASTNODE_NODE_FUNCS(PropClocked)
|
||||||
virtual bool hasDType() const { return true; } // Used under Cover, which expects a bool child
|
virtual bool hasDType() const { return true; } // Used under Cover, which expects a bool child
|
||||||
AstSenItem* sensesp() const {
|
AstSenItem* sensesp() const { return VN_CAST(op1p(), SenItem); } // op1 = Sensitivity list
|
||||||
return VN_CAST(op1p(), SenItem);
|
|
||||||
} // op1 = Sensitivity list
|
|
||||||
AstNode* disablep() const { return op2p(); } // op2 = disable
|
AstNode* disablep() const { return op2p(); } // op2 = disable
|
||||||
AstNode* propp() const { return op3p(); } // op3 = property
|
AstNode* propp() const { return op3p(); } // op3 = property
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -140,7 +140,7 @@ private:
|
||||||
// Nodep may be a list of elements; we need to walk it
|
// Nodep may be a list of elements; we need to walk it
|
||||||
AstNode* senEqnp = NULL;
|
AstNode* senEqnp = NULL;
|
||||||
for (AstSenItem* senp = nodesp; senp; senp = VN_CAST(senp->nextp(), SenItem)) {
|
for (AstSenItem* senp = nodesp; senp; senp = VN_CAST(senp->nextp(), SenItem)) {
|
||||||
AstNode*const senOnep = createSenItemEquation(senp);
|
AstNode* const senOnep = createSenItemEquation(senp);
|
||||||
if (senEqnp) {
|
if (senEqnp) {
|
||||||
// Add new OR to the sensitivity list equation
|
// Add new OR to the sensitivity list equation
|
||||||
senEqnp = new AstOr(senp->fileline(), senEqnp, senOnep);
|
senEqnp = new AstOr(senp->fileline(), senEqnp, senOnep);
|
||||||
|
|
|
||||||
|
|
@ -1807,8 +1807,8 @@ private:
|
||||||
for (AstSenItem *nextp, *senp = VN_CAST(nodep->sensesp(), SenItem); senp;
|
for (AstSenItem *nextp, *senp = VN_CAST(nodep->sensesp(), SenItem); senp;
|
||||||
senp = nextp) {
|
senp = nextp) {
|
||||||
nextp = VN_CAST(senp->nextp(), SenItem);
|
nextp = VN_CAST(senp->nextp(), SenItem);
|
||||||
AstSenItem*const litemp = senp;
|
AstSenItem* const litemp = senp;
|
||||||
AstSenItem*const ritemp = nextp;
|
AstSenItem* const ritemp = nextp;
|
||||||
if (ritemp) {
|
if (ritemp) {
|
||||||
if ((litemp->varrefp() && ritemp->varrefp()
|
if ((litemp->varrefp() && ritemp->varrefp()
|
||||||
&& litemp->varrefp()->sameGateTree(ritemp->varrefp()))
|
&& litemp->varrefp()->sameGateTree(ritemp->varrefp()))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue