Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 700800e

Browse files
committedMar 21, 2025·
Fix formatting to be compliant with clang-format-18
1 parent b112a75 commit 700800e

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed
 

‎vpr/src/draw/draw_rr_edges.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ void draw_chanx_to_chanx_edge(RRNodeId from_node, RRNodeId to_node, short switch
181181
+ draw_coords->get_tile_width();
182182
x2 = to_chan.left();
183183

184-
} /* The following then is executed when from_xlow == to_xlow */
184+
} /* The following then is executed when from_xlow == to_xlow */
185185
else if (to_xhigh > from_xhigh) { /* Draw from right edge of one to other */
186186
x1 = from_chan.right();
187187
x2 = draw_coords->tile_x[from_xhigh + 1];

‎vpr/src/pack/pb_type_graph.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1497,7 +1497,7 @@ static bool realloc_and_load_pb_graph_pin_ptrs_at_var(const int line_num,
14971497

14981498
if (prev_num_pins > 0) {
14991499
std::vector<t_pb_graph_pin*> temp(*pb_graph_pins, *pb_graph_pins + prev_num_pins);
1500-
delete[] * pb_graph_pins;
1500+
delete[] *pb_graph_pins;
15011501
*pb_graph_pins = new t_pb_graph_pin*[*num_pins];
15021502
for (i = 0; i < prev_num_pins; i++)
15031503
(*pb_graph_pins)[i] = temp[i];

‎vpr/src/place/place_macro.cpp

+8-8
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,10 @@ int PlaceMacros::find_all_the_macro_(const ClusteredNetlist& clb_nlist,
294294
num_macro++;
295295

296296
} // Do nothing if the from_pins does not have same possible direct connection.
297-
} // Finish going through all the pins for from_pins.
298-
} // Do nothing if the to_pins does not have same possible direct connection.
299-
} // Finish going through all the pins for to_pins.
300-
} // Finish going through all blocks.
297+
} // Finish going through all the pins for from_pins.
298+
} // Do nothing if the to_pins does not have same possible direct connection.
299+
} // Finish going through all the pins for to_pins.
300+
} // Finish going through all blocks.
301301

302302
// Now, all the data is readily stored in the temporary data structures.
303303
return num_macro;
@@ -523,10 +523,10 @@ static void mark_direct_of_ports(int idirect,
523523
port_pin_to_block_pin);
524524
}
525525
} // Do nothing if port_name does not match
526-
} // Finish going through all the ports
527-
} // Finish going through all the subtiles
528-
} // Do nothing if pb_type_name does not match
529-
} // Finish going through all the blocks
526+
} // Finish going through all the ports
527+
} // Finish going through all the subtiles
528+
} // Do nothing if pb_type_name does not match
529+
} // Finish going through all the blocks
530530
}
531531

532532
static void mark_direct_of_pins(int start_pin_index,

‎vpr/src/place/verify_placement.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ static unsigned check_macro_placement_consistency(const BlkLocRegistry& blk_loc_
204204
num_errors++;
205205
}
206206
} // Finish going through all the members
207-
} // Finish going through all the macros
207+
} // Finish going through all the macros
208208

209209
return num_errors;
210210
}

‎vpr/src/route/rr_graph_area.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ void count_bidir_routing_transistors(int num_switch, int wire_to_ipin_switch, fl
282282
break;
283283

284284
} /* End switch on from_rr_type */
285-
} /* End for all nodes */
285+
} /* End for all nodes */
286286

287287
delete[] cblock_counted;
288288
delete[] shared_buffer_trans;
@@ -478,7 +478,7 @@ void count_unidir_routing_transistors(std::vector<t_segment_inf>& /*segment_inf*
478478
break;
479479

480480
} /* End switch on from_rr_type */
481-
} /* End for all nodes */
481+
} /* End for all nodes */
482482

483483
/* Now add in the input connection block transistors. */
484484

0 commit comments

Comments
 (0)
Please sign in to comment.