Skip to content

Commit e6d35f2

Browse files
committed
Fix typos I noticed in IRGen and SILGen, NFC
1 parent adc92ba commit e6d35f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/IRGen/IRGenSIL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class LoweredValue {
125125
Address,
126126

127127
/// This LoweredValue corresponds to a SIL address value owned by an
128-
/// uninitialized fixed-size buffer. The initializatio
128+
/// uninitialized fixed-size buffer.
129129
UnallocatedAddressInBuffer,
130130

131131
/// The following kinds correspond to SIL non-address values.

lib/SILGen/SILGenDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ class EnumElementPatternInitialization : public RefutablePatternInitialization {
582582
static bool shouldDisableCleanupOnFailurePath(ManagedValue value,
583583
EnumElementDecl *elementDecl,
584584
SILGenFunction &SGF) {
585-
// If the enum is trivial, then there is no cleanup to disabled.
585+
// If the enum is trivial, then there is no cleanup to disable.
586586
if (value.isPlusZeroRValueOrTrivial()) return false;
587587

588588
// Check all of the members of the enum. If any have a non-trivial payload,

0 commit comments

Comments
 (0)