Skip to content

Commit

Permalink
Apply 'make format'
Browse files Browse the repository at this point in the history
  • Loading branch information
github action authored and RRozak committed Oct 26, 2023
1 parent 4873aaa commit 62dc80f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/V3Randomize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ class RandomizeMarkVisitor final : public VNVisitorConst {
for (auto* memberp = classp->stmtsp(); memberp; memberp = memberp->nextp()) {
// If member is rand and of class type, mark its class
if (VN_IS(memberp, Var) && VN_AS(memberp, Var)->isRand()) {
if (const auto* const classRefp = VN_CAST(memberp->dtypep()->skipRefp(), ClassRefDType)) {
if (const auto* const classRefp
= VN_CAST(memberp->dtypep()->skipRefp(), ClassRefDType)) {
auto* const rclassp = classRefp->classp();
if (!rclassp->user1()) {
rclassp->user1(true);
Expand Down

0 comments on commit 62dc80f

Please sign in to comment.