Skip to content

Commit 2ac8616

Browse files
author
osamahammad21
committed
drt: improve io switch readability
Signed-off-by: osamahammad21 <osama@precisioninno.com>
1 parent 6c40a4a commit 2ac8616

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

src/drt/src/io/io.cpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,15 +1856,15 @@ void io::Parser::setCutLayerProperties(odb::dbTechLayer* layer,
18561856
"Unsupported branch EXACTALIGNED in LEF58_SPACING ADJACENTCUTS "
18571857
"for layer {}, skipping rule.",
18581858
layer->getName());
1859-
break;
1859+
continue;
18601860
}
18611861
if (rule->isExceptSamePgnet()) {
18621862
logger_->warn(DRT,
18631863
46,
18641864
"Unsupported branch EXCEPTSAMEPGNET in LEF58_SPACING "
18651865
"ADJACENTCUTS for layer {}, skipping rule.",
18661866
layer->getName());
1867-
break;
1867+
continue;
18681868
}
18691869
if (rule->isCutClassToAll()) {
18701870
logger_->warn(
@@ -1873,7 +1873,7 @@ void io::Parser::setCutLayerProperties(odb::dbTechLayer* layer,
18731873
"Unsupported branch TO ALL in LEF58_SPACING ADJACENTCUTS "
18741874
"for layer {}, skipping rule.",
18751875
layer->getName());
1876-
break;
1876+
continue;
18771877
}
18781878
if (rule->isSideParallelOverlap()) {
18791879
logger_->warn(
@@ -1882,7 +1882,7 @@ void io::Parser::setCutLayerProperties(odb::dbTechLayer* layer,
18821882
"Unsupported branch SIDEPARALLELOVERLAP in LEF58_SPACING "
18831883
"ADJACENTCUTS for layer {}, skipping rule.",
18841884
layer->getName());
1885-
break;
1885+
continue;
18861886
}
18871887
if (rule->isSameMask()) {
18881888
logger_->warn(
@@ -1891,7 +1891,7 @@ void io::Parser::setCutLayerProperties(odb::dbTechLayer* layer,
18911891
"Unsupported branch SAMEMASK in LEF58_SPACING ADJACENTCUTS "
18921892
"for layer {}, skipping rule.",
18931893
layer->getName());
1894-
break;
1894+
continue;
18951895
}
18961896
auto con = std::make_unique<frLef58CutSpacingConstraint>();
18971897
con->setCutSpacing(rule->getCutSpacing());
@@ -1942,7 +1942,7 @@ void io::Parser::setCutLayerProperties(odb::dbTechLayer* layer,
19421942
"Unsupported branch STACK in LEF58_SPACING LAYER "
19431943
"for layer {}, skipping rule.",
19441944
layer->getName());
1945-
break;
1945+
continue;
19461946
}
19471947
if (rule->isOrthogonalSpacingValid()) {
19481948
logger_->warn(
@@ -1951,7 +1951,7 @@ void io::Parser::setCutLayerProperties(odb::dbTechLayer* layer,
19511951
"Unsupported branch ORTHOGONALSPACING in LEF58_SPACING LAYER "
19521952
"for layer {}, skipping rule.",
19531953
layer->getName());
1954-
break;
1954+
continue;
19551955
}
19561956
if (rule->getCutClass() != nullptr) {
19571957
if (rule->isShortEdgeOnly()) {
@@ -1961,7 +1961,7 @@ void io::Parser::setCutLayerProperties(odb::dbTechLayer* layer,
19611961
"Unsupported branch SHORTEDGEONLY in LEF58_SPACING LAYER "
19621962
"for layer {}, skipping rule.",
19631963
layer->getName());
1964-
break;
1964+
continue;
19651965
}
19661966
if (rule->isConcaveCorner()) {
19671967
if (rule->isConcaveCornerWidth()) {
@@ -1970,7 +1970,7 @@ void io::Parser::setCutLayerProperties(odb::dbTechLayer* layer,
19701970
"Unsupported branch WIDTH in LEF58_SPACING LAYER "
19711971
"for layer {}, skipping rule.",
19721972
layer->getName());
1973-
break;
1973+
continue;
19741974
}
19751975
if (rule->isConcaveCornerParallel()) {
19761976
logger_->warn(
@@ -1979,7 +1979,7 @@ void io::Parser::setCutLayerProperties(odb::dbTechLayer* layer,
19791979
"Unsupported branch PARALLEL in LEF58_SPACING LAYER "
19801980
"for layer {}, skipping rule.",
19811981
layer->getName());
1982-
break;
1982+
continue;
19831983
}
19841984
if (rule->isConcaveCornerEdgeLength()) {
19851985
logger_->warn(
@@ -1988,7 +1988,7 @@ void io::Parser::setCutLayerProperties(odb::dbTechLayer* layer,
19881988
"Unsupported branch EDGELENGTH in LEF58_SPACING LAYER "
19891989
"for layer {}, skipping rule.",
19901990
layer->getName());
1991-
break;
1991+
continue;
19921992
}
19931993
}
19941994
if (rule->isExtensionValid()) {
@@ -1997,7 +1997,7 @@ void io::Parser::setCutLayerProperties(odb::dbTechLayer* layer,
19971997
"Unsupported branch EXTENSION in LEF58_SPACING LAYER "
19981998
"for layer {}, skipping rule.",
19991999
layer->getName());
2000-
break;
2000+
continue;
20012001
}
20022002
if (rule->isAboveWidthValid()) {
20032003
logger_->warn(
@@ -2006,7 +2006,7 @@ void io::Parser::setCutLayerProperties(odb::dbTechLayer* layer,
20062006
"Unsupported branch ABOVEWIDTH in LEF58_SPACING LAYER "
20072007
"for layer {}, skipping rule.",
20082008
layer->getName());
2009-
break;
2009+
continue;
20102010
}
20112011
if (rule->isMaskOverlap()) {
20122012
logger_->warn(
@@ -2015,7 +2015,7 @@ void io::Parser::setCutLayerProperties(odb::dbTechLayer* layer,
20152015
"Unsupported branch MASKOVERLAP in LEF58_SPACING LAYER "
20162016
"for layer {}, skipping rule.",
20172017
layer->getName());
2018-
break;
2018+
continue;
20192019
}
20202020
if (rule->isWrongDirection()) {
20212021
logger_->warn(
@@ -2024,7 +2024,7 @@ void io::Parser::setCutLayerProperties(odb::dbTechLayer* layer,
20242024
"Unsupported branch WRONGDIRECTION in LEF58_SPACING LAYER "
20252025
"for layer {}, skipping rule.",
20262026
layer->getName());
2027-
break;
2027+
continue;
20282028
}
20292029
}
20302030
auto con = std::make_unique<frLef58CutSpacingConstraint>();

0 commit comments

Comments
 (0)