Skip to content

Commit 7988864

Browse files
committed
[gardening] Improved comments (NFC)
1 parent a7757db commit 7988864

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/swift/Basic/ClusteredBitVector.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ class ClusteredBitVector {
240240
}
241241

242242
ClusteredBitVector &operator=(const ClusteredBitVector &other) {
243-
// Do something with our current out-of-line capacity.
243+
// Do something with our current out-of-line storage.
244244
if (hasOutOfLineData()) {
245-
// Copy into our current capacity if it's adequate.
245+
// Copy into our current storage if its capacity is adequate.
246246
auto otherLengthInChunks = other.getLengthInChunks();
247247
if (otherLengthInChunks <= getOutOfLineCapacityInChunks()) {
248248
LengthInBits = other.LengthInBits;
@@ -256,7 +256,7 @@ class ClusteredBitVector {
256256
return *this;
257257
}
258258

259-
// Otherwise, destroy our current capacity.
259+
// Otherwise, destroy our current storage.
260260
destroy();
261261
}
262262

@@ -271,7 +271,7 @@ class ClusteredBitVector {
271271
}
272272

273273
ClusteredBitVector &operator=(ClusteredBitVector &&other) {
274-
// Just drop our current capacity.
274+
// Just drop our current out-of-line storage.
275275
if (hasOutOfLineData()) {
276276
destroy();
277277
}

0 commit comments

Comments
 (0)