Skip to content

Commit

Permalink
Format the code
Browse files Browse the repository at this point in the history
Signed-off-by: Ryszard Rozak <[email protected]>
  • Loading branch information
RRozak committed Oct 27, 2023
1 parent d737d98 commit 570a36d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/V3LinkParse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,7 @@ class LinkParseVisitor final : public VNVisitor {
= VN_CAST(m_ftaskp->classOrPackagep(), ClassOrPackageRef);
if (pkgrefp && VN_IS(pkgrefp->classOrPackagep(), Class)) classMethod = true;
}
if (nodep->lifetime().isNone()) {
nodep->lifetime(m_ftaskp->lifetime());
}
if (nodep->lifetime().isNone()) nodep->lifetime(m_ftaskp->lifetime());
}
if (nodep->lifetime().isNone() && nodep->varType() != VVarType::PORT) {
nodep->lifetime(m_lifetime);
Expand Down

0 comments on commit 570a36d

Please sign in to comment.