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
}

0 commit comments

Comments
 (0)