@@ -403,7 +403,7 @@ NetExpr* PEAssignPattern::elaborate_expr_packed_(Design *des, NetScope *scope,
403403 width /= dims[cur_dim].width ();
404404 cur_dim++;
405405
406- NetEConcat *concat = new NetEConcat (parms_.size (), 1 , base_type);
406+ NetEConcat *neconcat = new NetEConcat (parms_.size (), 1 , base_type);
407407 for (size_t idx = 0 ; idx < parms_.size (); idx++) {
408408 NetExpr *expr;
409409 // Handle nested assignment patterns as a special case. We do not
@@ -419,10 +419,10 @@ NetExpr* PEAssignPattern::elaborate_expr_packed_(Design *des, NetScope *scope,
419419 base_type, width,
420420 parms_[idx], need_const);
421421 if (expr)
422- concat ->set (idx, expr);
422+ neconcat ->set (idx, expr);
423423 }
424424
425- return concat ;
425+ return neconcat ;
426426}
427427
428428NetExpr* PEAssignPattern::elaborate_expr_struct_ (Design *des, NetScope *scope,
@@ -439,17 +439,16 @@ NetExpr* PEAssignPattern::elaborate_expr_struct_(Design *des, NetScope *scope,
439439 des->errors ++;
440440 }
441441
442- NetEConcat *concat = new NetEConcat (parms_.size (), 1 ,
443- struct_type->base_type ());
442+ NetEConcat *neconcat = new NetEConcat (parms_.size (), 1 , struct_type->base_type ());
444443 for (size_t idx = 0 ; idx < std::min (parms_.size (), members.size ()); idx++) {
445444 auto expr = elaborate_rval_expr (des, scope,
446445 members[idx].net_type ,
447446 parms_[idx], need_const);
448447 if (expr)
449- concat ->set (idx, expr);
448+ neconcat ->set (idx, expr);
450449 }
451450
452- return concat ;
451+ return neconcat ;
453452}
454453
455454NetExpr* PEAssignPattern::elaborate_expr (Design*des, NetScope*, unsigned , unsigned ) const
@@ -4263,7 +4262,7 @@ ivl_type_t PEIdent::resolve_type_(Design *des, const symbol_search_results &sr,
42634262 else
42644263 type = sr.type ;
42654264
4266- auto path = sr.path_tail .cbegin ();
4265+ auto cpath = sr.path_tail .cbegin ();
42674266
42684267 ivl_assert (*this , !sr.path_head .empty ());
42694268
@@ -4301,12 +4300,12 @@ ivl_type_t PEIdent::resolve_type_(Design *des, const symbol_search_results &sr,
43014300 }
43024301 }
43034302
4304- if (path == sr.path_tail .cend ())
4303+ if (cpath == sr.path_tail .cend ())
43054304 return type;
43064305
43074306 // Next look up the next path element based on name
43084307
4309- const auto &name = path ->name ;
4308+ const auto &name = cpath ->name ;
43104309
43114310 if (auto class_type = dynamic_cast <const netclass_t *>(type)) {
43124311 // If the type is an object, the next path member may be a
@@ -4363,8 +4362,8 @@ ivl_type_t PEIdent::resolve_type_(Design *des, const symbol_search_results &sr,
43634362 return nullptr ;
43644363 }
43654364
4366- indices = &path ->index ;
4367- path ++;
4365+ indices = &cpath ->index ;
4366+ cpath ++;
43684367 }
43694368
43704369 return type;
0 commit comments