Internals: Set isParameterized near hasGParam. No functional change intended.
This commit is contained in:
parent
9632dfdf93
commit
ce2f335786
|
|
@ -315,7 +315,10 @@ class LinkParseVisitor final : public VNVisitor {
|
|||
nodep->varType(VVarType::LPARAM);
|
||||
}
|
||||
}
|
||||
if (nodep->isGParam() && m_modp) m_modp->hasGParam(true);
|
||||
if (nodep->isGParam() && m_modp) {
|
||||
m_modp->hasGParam(true);
|
||||
if (AstClass* const classp = VN_CAST(m_modp, Class)) classp->isParameterized(true);
|
||||
}
|
||||
|
||||
if (nodep->isParam() && !nodep->valuep()
|
||||
&& nodep->fileline()->language() < V3LangCode::L1800_2009) {
|
||||
|
|
|
|||
|
|
@ -7160,7 +7160,6 @@ class_declaration<nodep>: // ==IEEE: part of class_declaration
|
|||
}
|
||||
/*cont*/ class_itemListEnd endLabelE
|
||||
{ $$ = $1; $1->addMembersp($2);
|
||||
if ($2) $1->isParameterized(true);
|
||||
$1->addExtendsp($3);
|
||||
$1->addExtendsp($4);
|
||||
$1->addMembersp($7);
|
||||
|
|
|
|||
Loading…
Reference in New Issue