Skip to content

Commit 871634b

Browse files
authored
Spelling include (#42616)
* spelling: accessible Signed-off-by: Josh Soref <[email protected]> * spelling: are Signed-off-by: Josh Soref <[email protected]> * spelling: assume Signed-off-by: Josh Soref <[email protected]> * spelling: attempt Signed-off-by: Josh Soref <[email protected]> * spelling: children Signed-off-by: Josh Soref <[email protected]> * spelling: convenience Signed-off-by: Josh Soref <[email protected]> * spelling: creation Signed-off-by: Josh Soref <[email protected]> * spelling: default Signed-off-by: Josh Soref <[email protected]> * spelling: dereference Signed-off-by: Josh Soref <[email protected]> * spelling: deserialization Signed-off-by: Josh Soref <[email protected]> * spelling: embedded Signed-off-by: Josh Soref <[email protected]> * spelling: enriched Signed-off-by: Josh Soref <[email protected]> * spelling: excluding Signed-off-by: Josh Soref <[email protected]> * spelling: for Signed-off-by: Josh Soref <[email protected]> * spelling: global Signed-off-by: Josh Soref <[email protected]> * spelling: guarantee Signed-off-by: Josh Soref <[email protected]> * spelling: initialization Signed-off-by: Josh Soref <[email protected]> * spelling: initialize Signed-off-by: Josh Soref <[email protected]> * spelling: label Signed-off-by: Josh Soref <[email protected]> * spelling: lifting Signed-off-by: Josh Soref <[email protected]> * spelling: mangled Signed-off-by: Josh Soref <[email protected]> * spelling: metadata Signed-off-by: Josh Soref <[email protected]> * spelling: minimum Signed-off-by: Josh Soref <[email protected]> * spelling: offset Signed-off-by: Josh Soref <[email protected]> * spelling: only Signed-off-by: Josh Soref <[email protected]> * spelling: otherwise Signed-off-by: Josh Soref <[email protected]> * spelling: output Signed-off-by: Josh Soref <[email protected]> * spelling: overall Signed-off-by: Josh Soref <[email protected]> * spelling: parameter Signed-off-by: Josh Soref <[email protected]> * spelling: passed Signed-off-by: Josh Soref <[email protected]> * spelling: performance Signed-off-by: Josh Soref <[email protected]> * spelling: referenced Signed-off-by: Josh Soref <[email protected]> * spelling: standard Signed-off-by: Josh Soref <[email protected]> * spelling: syntax Signed-off-by: Josh Soref <[email protected]> * spelling: that Signed-off-by: Josh Soref <[email protected]> * spelling: the Signed-off-by: Josh Soref <[email protected]> * spelling: trivia Signed-off-by: Josh Soref <[email protected]> * spelling: truncate Signed-off-by: Josh Soref <[email protected]> * spelling: undesirable Signed-off-by: Josh Soref <[email protected]> * spelling: uniformly Signed-off-by: Josh Soref <[email protected]> * spelling: uninitialized Signed-off-by: Josh Soref <[email protected]> * spelling: value Signed-off-by: Josh Soref <[email protected]> * spelling: verification Signed-off-by: Josh Soref <[email protected]> Co-authored-by: Josh Soref <[email protected]>
1 parent 30a53fe commit 871634b

29 files changed

+43
-43
lines changed

include/swift/ABI/Metadata.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2025,7 +2025,7 @@ using ExtendedExistentialTypeShape
20252025
/// existential shape.
20262026
///
20272027
/// We'd like to use BLAKE3 for this, but pending acceptance of
2028-
/// that into LLVM, we're using SHA-256. We simply truncaate the
2028+
/// that into LLVM, we're using SHA-256. We simply truncate the
20292029
/// hash to the desired length.
20302030
struct UniqueHash {
20312031
static_assert(NumBytes_UniqueHash % sizeof(uint32_t) == 0,
@@ -3541,7 +3541,7 @@ class TargetTypeContextDescriptor
35413541
return getTypeContextDescriptorFlags().hasSingletonMetadataInitialization();
35423542
}
35433543

3544-
/// Does this type have "foreign" metadata initialiation?
3544+
/// Does this type have "foreign" metadata initialization?
35453545
bool hasForeignMetadataInitialization() const {
35463546
return getTypeContextDescriptorFlags().hasForeignMetadataInitialization();
35473547
}

include/swift/ABI/ObjectFile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class SwiftObjectFileFormat {
2929
return {};
3030
}
3131
/// Get the name of the segment in the symbol rich binary that may contain
32-
/// Swift meteadata.
32+
/// Swift metadata.
3333
virtual llvm::Optional<llvm::StringRef> getSymbolRichSegmentName() {
3434
return {};
3535
}

include/swift/ABI/Task.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ class AsyncTask : public Job {
563563
/// \c Executing, then \c waitingTask has been added to the
564564
/// wait queue and will be scheduled when the future completes. Otherwise,
565565
/// the future has completed and can be queried.
566-
/// The waiting task's async context will be intialized with the parameters if
566+
/// The waiting task's async context will be initialized with the parameters if
567567
/// the current's task state is executing.
568568
FutureFragment::Status waitFuture(AsyncTask *waitingTask,
569569
AsyncContext *waitingTaskContext,

include/swift/ABI/TrailingObjects.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
/// determine the size needed for allocation via
4747
/// 'additionalSizeToAlloc' and 'totalSizeToAlloc'.
4848
///
49-
/// All the methods implemented by this class are are intended for use
49+
/// All the methods implemented by this class are intended for use
5050
/// by the implementation of the class, not as part of its interface
5151
/// (thus, private inheritance is suggested).
5252
///

include/swift/Migrator/FixitFilter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ struct FixitFilter {
6565
// primary file, so if a nominal type was renamed, for example, any members
6666
// users have added in an extension in a separate file may not be visible,
6767
// due to the extension rename not having been applied. The below diag(s)
68-
// can provide undesireable fixits that rename references of these
68+
// can provide undesirable fixits that rename references of these
6969
// no-longer-visible members to similar still-visible ones.
70-
// Note: missing_argument_lables and extra_argument_labels are filtered out
70+
// Note: missing_argument_labels and extra_argument_labels are filtered out
7171
// elsewhere
7272
if (Info.ID == diag::wrong_argument_labels.ID)
7373
return false;

include/swift/Reflection/TypeRefBuilder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1378,7 +1378,7 @@ class TypeRefBuilder {
13781378

13791379
// The Fields section has gathered info on types that includes their mangled
13801380
// names. Use that to build a dictionary from a type's demangled name to its
1381-
// mangeled name
1381+
// mangled name
13821382
std::unordered_map<std::string, std::string> typeNameToManglingMap;
13831383
for (const auto &section : ReflectionInfos) {
13841384
for (auto descriptor : section.Field) {

include/swift/Remote/MetadataReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ class MetadataReader {
653653
isBridged);
654654
}
655655

656-
/// Given a known-opaque existential, attemp to discover the pointer to its
656+
/// Given a known-opaque existential, attempt to discover the pointer to its
657657
/// metadata address and its value.
658658
llvm::Optional<RemoteExistential>
659659
readMetadataAndValueOpaqueExistential(RemoteAddress ExistentialAddress) {

include/swift/Runtime/AccessibleFunction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===---- AcceesibleFunction.h - Runtime accessible functions ---*- C++ -*-===//
1+
//===---- AccessibleFunction.h - Runtime accessible functions ---*- C++ -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

include/swift/Runtime/Atomic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class alignas(2 * sizeof(void*)) atomic_impl<Value, 2 * sizeof(void*)> {
234234
} // end namespace swift::impl
235235

236236
/// A simple wrapper for std::atomic that provides the most important
237-
/// interfaces and fixes the API bug where all of the orderings dafault
237+
/// interfaces and fixes the API bug where all of the orderings default
238238
/// to sequentially-consistent.
239239
///
240240
/// It also sometimes uses a different implementation in cases where

include/swift/Runtime/AtomicWaitQueue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class AtomicWaitQueue {
7676
Mutex WaitQueueLock;
7777

7878
/// Add a reference to this queue. Must be called while holding the
79-
/// globaal lock.
79+
/// global lock.
8080
void retain_locked() {
8181
referenceCount++;
8282
}

include/swift/Runtime/Concurrency.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ void swift_taskGroup_destroy(TaskGroup *group);
216216
/// more 'pending' child to account for.
217217
///
218218
/// This function SHOULD be called from the AsyncTask running the task group,
219-
/// however is generally thread-safe as it only only works with the group status.
219+
/// however is generally thread-safe as it only works with the group status.
220220
///
221221
/// Its Swift signature is
222222
///

include/swift/Runtime/Debug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ struct RuntimeErrorDetails {
183183
const char *currentStackDescription;
184184

185185
// Number of frames in the current stack that should be ignored when reporting
186-
// the issue (exluding the reportToDebugger/_swift_runtime_on_report frame).
186+
// the issue (excluding the reportToDebugger/_swift_runtime_on_report frame).
187187
// The remaining top frame should point to user's code where the bug is.
188188
uintptr_t framesToSkip;
189189

include/swift/Runtime/Enum.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void swift_initEnumMetadataSinglePayload(EnumMetadata *enumType,
5959
unsigned emptyCases);
6060

6161
using getExtraInhabitantTag_t =
62-
SWIFT_CC(swift) unsigned (const OpaqueValue *vaue,
62+
SWIFT_CC(swift) unsigned (const OpaqueValue *value,
6363
unsigned numExtraInhabitants,
6464
const Metadata *payloadType);
6565

@@ -130,7 +130,7 @@ void swift_storeEnumTagMultiPayload(OpaqueValue *value,
130130
unsigned whichCase);
131131

132132
/// The unspecialized getEnumTagSinglePayload value witness to be used by the
133-
/// VWTs for for specialized generic enums that are multi-payload.
133+
/// VWTs for specialized generic enums that are multi-payload.
134134
///
135135
/// Runtime availability: Swift 5.6
136136
SWIFT_RUNTIME_EXPORT
@@ -139,7 +139,7 @@ unsigned swift_getMultiPayloadEnumTagSinglePayload(const OpaqueValue *value,
139139
const Metadata *enumType);
140140

141141
/// The unspecialized storeEnumTagSinglePayload value witness to be used by the
142-
/// VWTs for for specialized generic enums that are multi-payload.
142+
/// VWTs for specialized generic enums that are multi-payload.
143143
///
144144
/// Runtime availability: Swift 5.6
145145
SWIFT_RUNTIME_EXPORT

include/swift/Runtime/Exclusivity.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void swift_dumpTrackedAccesses();
7373
#endif
7474

7575
// When building the concurrency library for back deployment, we rename these
76-
// symbols unformly so they don't conflict with the real concurrency library.
76+
// symbols uniformly so they don't conflict with the real concurrency library.
7777
#ifdef SWIFT_CONCURRENCY_BACK_DEPLOYMENT
7878
# define swift_task_enterThreadLocalContext swift_task_enterThreadLocalContextBackDeploy
7979
# define swift_task_exitThreadLocalContext swift_task_exitThreadLocalContextBackDeploy

include/swift/Runtime/Heap.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
namespace swift {
3030
namespace {
3131
// This is C++17 and newer, so we simply re-define it. Since the codebase is
32-
// C++14, asume that DR1558 is accounted for and that unused parameters in alias
32+
// C++14, assume that DR1558 is accounted for and that unused parameters in alias
3333
// templates are guaranteed to ensure SFINAE and are not ignored.
3434
template <typename ...>
3535
using void_t = void;
@@ -91,7 +91,7 @@ struct aligned_alloc<Alignment_, true> {
9191

9292
#if defined(_WIN32)
9393
// FIXME: why is this even needed? This is not permitted as per the C++
94-
// standrd new.delete.placement (§17.6.3.4).
94+
// standard new.delete.placement (§17.6.3.4).
9595
[[nodiscard]] void *operator new(std::size_t size, void *where) noexcept {
9696
return ::operator new(size, where);
9797
}

include/swift/Runtime/HeapObject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ bool swift_isUniquelyReferenced_nonNull_native(const struct HeapObject *);
302302
/// \p type: 0 - withoutActuallyEscaping verification
303303
/// Was the closure passed to a withoutActuallyEscaping block
304304
/// escaped in the block?
305-
/// 1 - @objc closure sentinel verfication
305+
/// 1 - @objc closure sentinel verification
306306
/// Was the closure passed to Objective-C escaped?
307307
SWIFT_RUNTIME_EXPORT
308308
bool swift_isEscapingClosureAtFileLocation(const struct HeapObject *object,

include/swift/Runtime/SwiftDtoa.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ extern "C" {
196196
// * `d` is the number to be formatted
197197
// * `dest` is a buffer of length `length`
198198
//
199-
// Ouput:
199+
// Output:
200200
// * Return value is the length of the string placed into `dest`
201201
// or zero if the buffer is too small.
202202
// * For infinity, it copies "inf" or "-inf".

include/swift/Strings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ constexpr static const StringLiteral DEFAULT_ACTOR_STORAGE_FIELD_NAME =
6161
constexpr static const StringLiteral BUILTIN_TYPE_NAME_PREFIX = "Builtin.";
6262

6363
/// The default SPI group name to associate with Clang SPIs.
64-
constexpr static const StringLiteral CLANG_MODULE_DEFUALT_SPI_GROUP_NAME =
64+
constexpr static const StringLiteral CLANG_MODULE_DEFAULT_SPI_GROUP_NAME =
6565
"OBJC_DEFAULT_SPI_GROUP";
6666

6767
/// The attribute name for @_spi_available

include/swift/SwiftRemoteMirror/SwiftRemoteMirror.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ int swift_reflection_projectExistential(SwiftReflectionContextRef ContextRef,
272272
/// - When dealing with an error existential, this version will dereference
273273
/// the ExistentialAddress before proceeding.
274274
/// - After setting OutInstanceTypeRef and OutStartOfInstanceData this version
275-
/// may derefence and set OutStartOfInstanceData if OutInstanceTypeRef is a
275+
/// may dereference and set OutStartOfInstanceData if OutInstanceTypeRef is a
276276
/// class TypeRef.
277277
SWIFT_REMOTE_MIRROR_LINKAGE
278278
int swift_reflection_projectExistentialAndUnwrapClass(

include/swift/SwiftRemoteMirror/SwiftRemoteMirrorLegacyInteropTypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
#include "SwiftRemoteMirror.h"
2424

25-
/// The remote representation of a Swift metada pointer as returned by
25+
/// The remote representation of a Swift metadata pointer as returned by
2626
/// interop wrappers.
2727
typedef struct swift_metadata_interop {
2828
uintptr_t Metadata;

include/swift/SymbolGraphGen/FragmentInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace symbolgraphgen {
2525
struct FragmentInfo {
2626
/// The swift decl of the referenced symbol.
2727
const ValueDecl *VD;
28-
/// The path components of the refereced symbol.
28+
/// The path components of the referenced symbol.
2929
SmallVector<PathComponent, 4> ParentContexts;
3030
};
3131

include/swift/Syntax/AbsoluteRawSyntax.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class SyntaxIdentifier {
129129
}
130130
};
131131

132-
/// Represents a node's position in a syntax tree, described by its overal
132+
/// Represents a node's position in a syntax tree, described by its overall
133133
/// textual offset and the position within its parent.
134134
class AbsoluteSyntaxPosition {
135135
public:
@@ -254,7 +254,7 @@ class AbsoluteSyntaxInfo {
254254
}
255255
};
256256

257-
/// A \c RawSyntax node that is enrichted with information of its position
257+
/// A \c RawSyntax node that is enriched with information of its position
258258
/// within the syntax tree it lives in.
259259
class AbsoluteRawSyntax {
260260
/// OptionalStorage is a friend so it can access the \c nullptr initializer
@@ -303,7 +303,7 @@ class AbsoluteRawSyntax {
303303
return Info;
304304
}
305305

306-
/// Get the position at which the leading triva of this node starts.
306+
/// Get the position at which the leading trivia of this node starts.
307307
AbsoluteSyntaxPosition getPosition() const {
308308
return getInfo().getPosition();
309309
};

include/swift/Syntax/AtomicCache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace swift {
2525
template <typename T>
2626
class AtomicCache {
2727
// Whatever type is created through this cache must be pointer-sized,
28-
// othwerise, we can't pretend it's a uintptr_t and use its
28+
// otherwise, we can't pretend it's a uintptr_t and use its
2929
// compare_exchange_strong.
3030
static_assert(sizeof(uintptr_t) == sizeof(RC<T>),
3131
"RC<T> must be pointer sized!");

include/swift/Syntax/RawSyntax.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
//
2727
// RawSyntax nodes always live in a SyntaxArena. The user of the RawSyntax nodes
2828
// is responsible to ensure that the SyntaxArena stays alive while the RawSyntax
29-
// nodes are being accessed. During tree cration this is done by the
29+
// nodes are being accessed. During tree creation this is done by the
3030
// SyntaxTreeCreator holding on to the arena. In lib/Syntax, the root SyntaxData
3131
// node retains the syntax arena. Should a RawSyntaxNode A reference a node B
3232
// from a different arena, it automatically adds B's arena as a child arena of
@@ -276,7 +276,7 @@ class RawSyntax final
276276
Bits.Token.TrailingTriviaLength);
277277
}
278278

279-
/// Compute the node's text length by summing up the length of its childern
279+
/// Compute the node's text length by summing up the length of its children
280280
size_t computeTextLength() {
281281
size_t TextLength = 0;
282282
for (size_t I = 0, NumChildren = getNumChildren(); I < NumChildren; ++I) {

include/swift/Syntax/Serialization/SyntaxDeserialization.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ struct TokenDescription {
112112
StringRef Text;
113113
};
114114

115-
/// Desrialization traits for TokenDescription.
115+
/// Deserialization traits for TokenDescription.
116116
/// TokenDescriptions always serialized with a token kind, which is
117117
/// the stringified version of their name in the tok:: enum.
118118
/// ```

include/swift/Syntax/Syntax.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
// There are two versions of the Syntax type.
1919
// SyntaxRef:
2020
// SyntaxRef is designed around efficiency. It *does not* retain the
21-
// SyntaxDataRef that stores its data - the user must gurantee that the
21+
// SyntaxDataRef that stores its data - the user must guarantee that the
2222
// SyntaxDataRef outlives the SyntaxRef that references it. Instead,
2323
// SyntaxDataRef provides a *view* into the SyntaxDataRef and the view provides
24-
// all convinience APIs. The advantage of this is that the underlying SyntaxData
24+
// all convenience APIs. The advantage of this is that the underlying SyntaxData
2525
// can be stack-allocated and does not need to be copied when the the SyntaxRef
26-
// is being passsed around or when the SyntaxRef is being casted.
26+
// is being passed around or when the SyntaxRef is being casted.
2727
//
2828
// Syntax:
2929
// The syntax nodes are designed for memory safety. Syntax nodes always retain
@@ -33,7 +33,7 @@
3333
//
3434
// Note that the two access modes can also be mixed. When a syntax tree is
3535
// accessed by Syntax (memory-safe) nodes, they can be demoted to SyntaxRef
36-
// nodes to perform perfomance-critical tasks.
36+
// nodes to perform performance-critical tasks.
3737
//===----------------------------------------------------------------------===//
3838

3939
#ifndef SWIFT_SYNTAX_SYNTAX_H
@@ -98,7 +98,7 @@ class OwnedSyntaxRef {
9898
SyntaxRefType Ref;
9999

100100
public:
101-
/// Create an *uninintialized* \c OwnedSyntaxRef. Its storage needs to be
101+
/// Create an *uninitialized* \c OwnedSyntaxRef. Its storage needs to be
102102
/// initialised by writing a \c SyntaxDataRef to the pointer returned by
103103
/// \c getDataPtr()
104104
/// Implementation Note: We need to initialise \c Ref without validation,
@@ -310,7 +310,7 @@ class Syntax {
310310
return Data->getAbsolutePositionBeforeLeadingTrivia();
311311
}
312312

313-
/// Get the offset at which the actual content (i.e. non-triva) of this node
313+
/// Get the offset at which the actual content (i.e. non-trivia) of this node
314314
/// starts.
315315
AbsoluteOffsetPosition getAbsolutePositionAfterLeadingTrivia() const {
316316
return Data->getAbsolutePositionAfterLeadingTrivia();
@@ -405,7 +405,7 @@ class SyntaxRef {
405405
return getDataRef()->getAbsolutePositionBeforeLeadingTrivia();
406406
}
407407

408-
/// Get the offset at which the actual content (i.e. non-triva) of this node
408+
/// Get the offset at which the actual content (i.e. non-trivia) of this node
409409
/// starts.
410410
AbsoluteOffsetPosition getAbsolutePositionAfterLeadingTrivia() const {
411411
return getDataRef()->getAbsolutePositionAfterLeadingTrivia();

include/swift/Syntax/SyntaxData.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class SyntaxDataRef {
7676
/// RawSyntax's \c SyntaxArena outlives this \c SyntaxDataRef.
7777
///
7878
/// In \c SyntaxData, the backing \c SyntaxArena is retained via the \c Arena
79-
/// property, lifiting the responsibility to guarantee the \c RawSyntax node
79+
/// property, lifting the responsibility to guarantee the \c RawSyntax node
8080
/// stays alive from the user.
8181
AbsoluteRawSyntax AbsoluteRaw;
8282

include/swift/Syntax/SyntaxFactory.h.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public:
6060
);
6161

6262
/// Count the number of children for a given syntax node kind,
63-
/// returning a pair of mininum and maximum count of children. The gap
63+
/// returning a pair of minimum and maximum count of children. The gap
6464
/// between these two numbers is the number of optional children.
6565
static std::pair<unsigned, unsigned> countChildren(SyntaxKind Kind);
6666

include/swift/TBDGen/TBDGen.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ struct TBDGenOptions {
7171
/// For these modules, TBD gen should embed their symbols in the emitted tbd
7272
/// file.
7373
/// Typically, these modules are static linked libraries. Thus their symbols
74-
/// are embeded in the current dylib.
74+
/// are embedded in the current dylib.
7575
std::vector<std::string> embedSymbolsFromModules;
7676

7777
friend bool operator==(const TBDGenOptions &lhs, const TBDGenOptions &rhs) {

0 commit comments

Comments
 (0)