Apply 'make format'

This commit is contained in:
github action 2023-12-21 12:49:55 +00:00
parent 56d6791205
commit 8e1c0b0852
1 changed files with 5 additions and 5 deletions

View File

@ -2941,7 +2941,7 @@ class WidthVisitor final : public VNVisitor {
methodCallQueue(nodep, adtypep);
} else if (AstClassRefDType* const adtypep = VN_CAST(fromDtp, ClassRefDType)) {
methodCallClass(nodep, adtypep);
} else if(AstIfaceRefDType* const adtypep = VN_CAST(fromDtp, IfaceRefDType)) {
} else if (AstIfaceRefDType* const adtypep = VN_CAST(fromDtp, IfaceRefDType)) {
methodCallIfaceRef(nodep, adtypep);
} else if (AstUnpackArrayDType* const adtypep = VN_CAST(fromDtp, UnpackArrayDType)) {
methodCallUnpack(nodep, adtypep);
@ -3552,11 +3552,11 @@ class WidthVisitor final : public VNVisitor {
nodep->classOrPackagep(ifacep);
if (VN_IS(ftaskp, Task)) nodep->dtypeSetVoid();
processFTaskRefArgs(nodep);
}
return;
}
return;
}
nodep->v3error( "Member reference from interface to " << nodep->prettyNameQ()
<< " is not referencing a valid task or function ");
nodep->v3error("Member reference from interface to "
<< nodep->prettyNameQ() << " is not referencing a valid task or function ");
}
void methodCallClass(AstMethodCall* nodep, AstClassRefDType* adtypep) {
// No need to width-resolve the class, as it was done when we did the child