Skip to content

Commit c2f344c

Browse files
committed
Merge branch 'master' of https://github.com/The-OpenROAD-Project-private/OpenROAD into secure-fix-restore-odb-hash-in-module
2 parents 91eb1b6 + d8e07f5 commit c2f344c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/drt/src/io/GuideProcessor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ void GuidePathFinder::updateNodeMap(
16061606
void GuidePathFinder::clipGuides(std::vector<frRect>& rects)
16071607
{
16081608
for (auto& [pt, indices] : node_map_) {
1609-
const uint32_t num_indices = indices.size();
1609+
const auto num_indices = indices.size();
16101610
if (num_indices != 1) {
16111611
continue;
16121612
}
@@ -1649,7 +1649,7 @@ void GuidePathFinder::mergeGuides(std::vector<frRect>& rects)
16491649
};
16501650
for (auto& [pt, indices] : node_map_) {
16511651
std::vector<int> visited_indices = getVisitedIndices(indices, visited_);
1652-
const uint32_t num_indices = visited_indices.size();
1652+
const auto num_indices = visited_indices.size();
16531653
if (num_indices == 2) {
16541654
const auto first_idx = *(visited_indices.begin());
16551655
const auto second_idx = *std::prev(visited_indices.end());

src/grt/src/heatMap.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ bool RoutingCongestionDataSource::populateMapForLayer(odb::dbTechLayer* layer,
139139

140140
std::vector<int> x_grid, y_grid;
141141
grid->getGridX(x_grid);
142-
const uint32_t x_grid_sz = x_grid.size();
142+
const auto x_grid_sz = x_grid.size();
143143
grid->getGridY(y_grid);
144-
const uint32_t y_grid_sz = y_grid.size();
144+
const auto y_grid_sz = y_grid.size();
145145

146146
for (uint32_t x_idx = 0; x_idx < congestion_data.numRows(); ++x_idx) {
147147
for (uint32_t y_idx = 0; y_idx < congestion_data.numCols(); ++y_idx) {
@@ -191,9 +191,9 @@ bool RoutingCongestionDataSource::populateMapForDirection(
191191

192192
std::vector<int> x_grid, y_grid;
193193
grid->getGridX(x_grid);
194-
const uint32_t x_grid_sz = x_grid.size();
194+
const auto x_grid_sz = x_grid.size();
195195
grid->getGridY(y_grid);
196-
const uint32_t y_grid_sz = y_grid.size();
196+
const auto y_grid_sz = y_grid.size();
197197

198198
for (uint32_t x_idx = 0; x_idx < hor_congestion_data.numRows(); ++x_idx) {
199199
for (uint32_t y_idx = 0; y_idx < hor_congestion_data.numCols(); ++y_idx) {

src/pdn/src/via.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ DbGenerateVia::DbGenerateVia(const odb::Rect& rect,
581581
cut_(cut),
582582
top_(top)
583583
{
584-
for (uint32_t l = 0; rule_->getViaLayerRuleCount(); l++) {
584+
for (uint32_t l = 0; l < rule_->getViaLayerRuleCount(); l++) {
585585
auto* layer_rule = rule_->getViaLayerRule(l);
586586
if (layer_rule->getLayer() == cut_) {
587587
layer_rule->getRect(cut_rect_);

src/rcx/src/ext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ bool Ext::rc_estimate(const std::string& ext_model_file,
491491
double version = 0.0;
492492
std::list<std::string> corner_list
493493
= extModelGen::GetCornerNames(ext_model_file.c_str(), version, logger_);
494-
uint32_t extDbCnt = corner_list.size();
494+
const auto extDbCnt = corner_list.size();
495495

496496
uint32_t cornerTable[10];
497497
for (uint32_t ii = 0; ii < extDbCnt; ii++) {

0 commit comments

Comments
 (0)