Apply 'make format'
This commit is contained in:
parent
cf9334f2c1
commit
edab09333c
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue