Skip to content

Commit 3e13c63

Browse files
mparkcor3ntin
andcommitted
[C++20][Modules][Serialization] Use range-based for instead.
Co-authored-by: cor3ntin <[email protected]>
1 parent ac5ff8f commit 3e13c63

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/lib/Serialization/ASTReader.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10479,9 +10479,8 @@ void ASTReader::finishPendingActions() {
1047910479

1048010480
// For each decl chain that we wanted to complete while deserializing, mark
1048110481
// it as "still needs to be completed".
10482-
for (unsigned I = 0; I != PendingIncompleteDeclChains.size(); ++I) {
10483-
markIncompleteDeclChain(PendingIncompleteDeclChains[I]);
10484-
}
10482+
for (Decl *D : PendingIncompleteDeclChains)
10483+
markIncompleteDeclChain(D);
1048510484
PendingIncompleteDeclChains.clear();
1048610485
}
1048710486

0 commit comments

Comments
 (0)