Apply 'make format'

This commit is contained in:
github action 2026-05-11 22:33:56 +00:00
parent cf9334f2c1
commit edab09333c
1 changed files with 8 additions and 8 deletions

View File

@ -206,14 +206,14 @@ public:
}
const AstNode* const initp = nodep->hasUserInit() ? initStaticp() : initialp();
if (initp && contAssignp() && !nodep->isClassMember() && !nodep->isFuncLocal()) {
initp->v3warn(
E_CONTASSINIT,
"Continuous assignment to variable with initial value: " << nodep->prettyNameQ()
<< '\n'
<< initp->warnMore() << "... Location of variable initialization\n"
<< initp->warnContextPrimary() << '\n'
<< contAssignp()->warnOther() << "... Location of continuous assignment\n"
<< contAssignp()->warnContextSecondary());
initp->v3warn(E_CONTASSINIT, "Continuous assignment to variable with initial value: "
<< nodep->prettyNameQ() << '\n'
<< initp->warnMore()
<< "... Location of variable initialization\n"
<< initp->warnContextPrimary() << '\n'
<< contAssignp()->warnOther()
<< "... Location of continuous assignment\n"
<< contAssignp()->warnContextSecondary());
}
if (nodep->isGenVar()) { // Genvar
if (!nodep->isIfaceRef() && !nodep->isUsedParam() && !unusedMatch(nodep)) {