mirror of
https://github.com/verilator/verilator.git
synced 2025-01-06 06:37:45 +00:00
Internals: clang-format
This commit is contained in:
parent
0674267333
commit
75d255a3bf
@ -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
|
||||
};
|
||||
|
@ -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);
|
||||
|
@ -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()))
|
||||
|
Loading…
Reference in New Issue
Block a user