Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Boronski <[email protected]>
  • Loading branch information
kboronski-ant committed Nov 14, 2023
1 parent 2976f1e commit 8cb2531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/V3LinkDot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3328,8 +3328,8 @@ class LinkDotResolveVisitor final : public VNVisitor {
iterateAndNextNull(nodep->thsp());
}

if (nodep->attrp() != nullptr) {
AstNode* attrp = nodep->attrp()->unlinkFrBack();
if (nodep->attrp()) {
AstNode* const attrp = nodep->attrp()->unlinkFrBack();
VL_DO_DANGLING(attrp->deleteTree(), attrp);
}
AstNode* const basefromp = AstArraySel::baseFromp(nodep, false);
Expand Down

0 comments on commit 8cb2531

Please sign in to comment.