Apply 'make format'

This commit is contained in:
github action 2026-04-04 18:32:27 +00:00
parent 3b454a6f60
commit 4b6bc1ff83
2 changed files with 4 additions and 6 deletions

View File

@ -1014,8 +1014,8 @@ bool AstNodeDType::similarDType(const AstNodeDType* samep) const {
bool AstNodeDType::isFourstate() const { return basicp() && basicp()->isFourstate(); }
bool AstNodeDType::isNonPackedArray() const {
return VN_IS(this, UnpackArrayDType) || VN_IS(this, DynArrayDType)
|| VN_IS(this, QueueDType) || VN_IS(this, AssocArrayDType);
return VN_IS(this, UnpackArrayDType) || VN_IS(this, DynArrayDType) || VN_IS(this, QueueDType)
|| VN_IS(this, AssocArrayDType);
}
class AstNodeDType::CTypeRecursed final {

View File

@ -1311,8 +1311,7 @@ class ConstraintExprVisitor final : public VNVisitor {
methodp->addPinsp(varRefp);
}
AstNodeDType* tmpDtypep = varp->dtypep();
while (tmpDtypep->isNonPackedArray())
tmpDtypep = tmpDtypep->subDTypep();
while (tmpDtypep->isNonPackedArray()) tmpDtypep = tmpDtypep->subDTypep();
const size_t width = tmpDtypep->width();
methodp->addPinsp(
new AstConst{varp->dtypep()->fileline(), AstConst::Unsized64{}, width});
@ -4390,8 +4389,7 @@ class RandomizeVisitor final : public VNVisitor {
}
AstNodeDType* tmpDtypep = arrVarp->dtypep();
while (tmpDtypep->isNonPackedArray())
tmpDtypep = tmpDtypep->subDTypep();
while (tmpDtypep->isNonPackedArray()) tmpDtypep = tmpDtypep->subDTypep();
const size_t width = tmpDtypep->width();
methodp->addPinsp(new AstConst{fl, AstConst::Unsized64{}, width});