Skip to content

Commit 3e51f30

Browse files
author
klaas
committed
Cleans up some loops to have braces
1 parent fae6a48 commit 3e51f30

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/analyses/dependence_graph.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,9 @@ void dep_graph_domaint::data_dependencies(
175175
{
176176
bool found=false;
177177
for(const auto &wr : w_range.second)
178+
{
178179
for(const auto &r_range : r_ranges)
180+
{
179181
if(!found &&
180182
may_be_def_use_pair(wr.first, wr.second,
181183
r_range.first, r_range.second))
@@ -184,6 +186,8 @@ void dep_graph_domaint::data_dependencies(
184186
data_deps.insert(w_range.first);
185187
found=true;
186188
}
189+
}
190+
}
187191
}
188192

189193
dep_graph.reaching_definitions()[to].clear_cache(it->first);

0 commit comments

Comments
 (0)