Skip to content

Commit 3de0474

Browse files
committed
[Gardening] IRGen: Clarified comments.
1 parent 9e13a38 commit 3de0474

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/IRGen/LocalTypeData.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -311,15 +311,15 @@ LocalTypeDataCache::StateAdvancement LocalTypeDataCache::advanceStateInScope(
311311
key = key.getCachingKey();
312312

313313
auto iterator = Map.find(key);
314-
// There's no chain of entries, no no entry which could possibly be used.
314+
// There's no chain of entries, so no entry which could possibly be used.
315315
if (iterator == Map.end())
316316
return StateAdvancement::NoEntry;
317317
auto &chain = iterator->second;
318318

319-
// Scan the chain for entries with the appropriate relationship to the active
320-
// dominance scope, and "promote their state". Any entry whose state is
321-
// already at least as complete than `state` is unaffected, and results in
322-
// exiting early.
319+
// Scan the chain for an entry with the appropriate relationship to the active
320+
// dominance scope, and "promote its state". The existence of a concrete
321+
// entry whose state is already at least as complete as `state` is
322+
// unaffected, and results in exiting early.
323323
//
324324
// There are two cases of interest:
325325
//

0 commit comments

Comments
 (0)