Skip to content

Commit 3545a79

Browse files
committed
Avoid useless references
1 parent e273ed1 commit 3545a79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Analysis/LiveVariables.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ namespace {
9090
if (A.isEmpty())
9191
return B;
9292

93-
for (const auto &element : B) {
94-
A = A.add(element);
93+
for (const auto *Elem : B) {
94+
A = A.add(Elem);
9595
}
9696
return A;
9797
}

0 commit comments

Comments
 (0)