Skip to content

Commit 644c18c

Browse files
authored
Spelling stdlib (#42444)
* spelling: against Signed-off-by: Josh Soref <[email protected]> * spelling: algorithmic Signed-off-by: Josh Soref <[email protected]> * spelling: alignment Signed-off-by: Josh Soref <[email protected]> * spelling: anything Signed-off-by: Josh Soref <[email protected]> * spelling: architectural Signed-off-by: Josh Soref <[email protected]> * spelling: architecture Signed-off-by: Josh Soref <[email protected]> * spelling: are Signed-off-by: Josh Soref <[email protected]> * spelling: artificial Signed-off-by: Josh Soref <[email protected]> * spelling: aside Signed-off-by: Josh Soref <[email protected]> * spelling: available Signed-off-by: Josh Soref <[email protected]> * spelling: being Signed-off-by: Josh Soref <[email protected]> * spelling: bidirectional Signed-off-by: Josh Soref <[email protected]> * spelling: characters Signed-off-by: Josh Soref <[email protected]> * spelling: circular Signed-off-by: Josh Soref <[email protected]> * spelling: compatibility Signed-off-by: Josh Soref <[email protected]> * spelling: compiled Signed-off-by: Josh Soref <[email protected]> * spelling: correctly Signed-off-by: Josh Soref <[email protected]> * spelling: covers Signed-off-by: Josh Soref <[email protected]> * spelling: declaration Signed-off-by: Josh Soref <[email protected]> * spelling: dependencies Signed-off-by: Josh Soref <[email protected]> * spelling: descriptor Signed-off-by: Josh Soref <[email protected]> * spelling: dictionaries Signed-off-by: Josh Soref <[email protected]> * spelling: dynamic Signed-off-by: Josh Soref <[email protected]> * spelling: greater Signed-off-by: Josh Soref <[email protected]> * spelling: hierarchy Signed-off-by: Josh Soref <[email protected]> * spelling: immortal Signed-off-by: Josh Soref <[email protected]> * spelling: initialize Signed-off-by: Josh Soref <[email protected]> * spelling: initializes Signed-off-by: Josh Soref <[email protected]> * spelling: iterable Signed-off-by: Josh Soref <[email protected]> * spelling: message Signed-off-by: Josh Soref <[email protected]> * spelling: minimum Signed-off-by: Josh Soref <[email protected]> * spelling: multiple Signed-off-by: Josh Soref <[email protected]> * spelling: originally Signed-off-by: Josh Soref <[email protected]> * spelling: simplified Signed-off-by: Josh Soref <[email protected]> * spelling: sophisticated Signed-off-by: Josh Soref <[email protected]> * spelling: trivia Signed-off-by: Josh Soref <[email protected]> * spelling: wasn't Signed-off-by: Josh Soref <[email protected]> Co-authored-by: Josh Soref <[email protected]>
1 parent a0d2cab commit 644c18c

36 files changed

+47
-47
lines changed

stdlib/cmake/modules/AddSwiftStdlib.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1867,7 +1867,7 @@ function(add_swift_target_library name)
18671867
${SWIFTLIB_FRAMEWORK_DEPENDS_IOS_TVOS})
18681868
endif()
18691869

1870-
# Collect architecutre agnostic compiler flags
1870+
# Collect architecture agnostic compiler flags
18711871
set(swiftlib_swift_compile_flags_all ${SWIFTLIB_SWIFT_COMPILE_FLAGS})
18721872
if(${sdk} STREQUAL OSX)
18731873
list(APPEND swiftlib_swift_compile_flags_all
@@ -2342,7 +2342,7 @@ function(add_swift_target_library name)
23422342
endif()
23432343
endforeach()
23442344

2345-
# Add the swiftmodule-only targets to the lipo target depdencies.
2345+
# Add the swiftmodule-only targets to the lipo target dependencies.
23462346
foreach(arch ${SWIFT_SDK_${sdk}_MODULE_ARCHITECTURES})
23472347
set(_variant_name "${name}-${SWIFT_SDK_${sdk}_LIB_SUBDIR}-${arch}")
23482348
if(maccatalyst_build_flavor STREQUAL "ios-like")

stdlib/include/llvm/ADT/STLExtras.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ template <template <typename...> class ItType, typename... Args> class zippy {
723723

724724
} // end namespace detail
725725

726-
/// zip iterator for two or more iteratable types.
726+
/// zip iterator for two or more iterable types.
727727
template <typename T, typename U, typename... Args>
728728
detail::zippy<detail::zip_shortest, T, U, Args...> zip(T &&t, U &&u,
729729
Args &&... args) {
@@ -1949,7 +1949,7 @@ template <typename R> class enumerator {
19491949

19501950
} // end namespace detail
19511951

1952-
/// Given an input range, returns a new range whose values are are pair (A,B)
1952+
/// Given an input range, returns a new range whose values are pair (A,B)
19531953
/// such that A is the 0-based index of the item in the sequence, and B is
19541954
/// the value from the original sequence. Example:
19551955
///

stdlib/include/llvm/ADT/Twine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ namespace llvm {
102102

103103
/// A Pointer and Length representation. Used for std::string_view,
104104
/// StringRef, and SmallString. Can't use a StringRef here
105-
/// because they are not trivally constructible.
105+
/// because they are not trivially constructible.
106106
PtrAndLengthKind,
107107

108108
/// A pointer to a formatv_object_base instance.

stdlib/include/llvm/Support/Allocator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class BumpPtrAllocatorImpl
174174
if (PaddedSize > SizeThreshold) {
175175
void *NewSlab =
176176
AllocatorT::Allocate(PaddedSize, alignof(std::max_align_t));
177-
// We own the new slab and don't want anyone reading anyting other than
177+
// We own the new slab and don't want anyone reading anything other than
178178
// pieces returned from this method. So poison the whole slab.
179179
__asan_poison_memory_region(NewSlab, PaddedSize);
180180
CustomSizedSlabs.push_back(std::make_pair(NewSlab, PaddedSize));

stdlib/include/llvm/Support/type_traits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- llvm/Support/type_traits.h - Simplfied type traits -------*- C++ -*-===//
1+
//===- llvm/Support/type_traits.h - Simplified type traits -------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

stdlib/private/OSLog/OSLogFloatingPointTypes.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
// This file defines extensions for interpolating floating-point expressions
14-
// into an OSLogMesage. It defines `appendInterpolation` functions for standard
14+
// into an OSLogMessage. It defines `appendInterpolation` functions for standard
1515
// floating-point types. It also defines extensions for serializing floating-
1616
// point types into the argument buffer passed to os_log ABIs.
1717
//

stdlib/private/OSLog/OSLogIntegerFormatting.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ extension OSLogIntegerFormatting {
373373
specification += "-"
374374
}
375375

376-
// 2. Minimumn field width
376+
// 2. Minimum field width
377377
// IEEE: When field width is prefixed by `0`, leading zeros (following any
378378
// indication of sign or base) are used to pad to the field width rather
379379
// than performing space padding. If the '0' and '-' flags both appear,

stdlib/private/OSLog/OSLogIntegerTypes.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
// This file defines extensions for interpolating integer expressions into an
14-
// OSLogMesage. It defines `appendInterpolation` functions for standard integer
14+
// OSLogMessage. It defines `appendInterpolation` functions for standard integer
1515
// types. It also defines extensions for serializing integer types into the
1616
// argument buffer passed to os_log ABIs.
1717
//

stdlib/private/OSLog/OSLogNSObjectType.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
// This file defines extensions for interpolating NSObject into an OSLogMesage.
13+
// This file defines extensions for interpolating NSObject into an OSLogMessage.
1414
// It defines `appendInterpolation` function for NSObject type. It also defines
1515
// extensions for generating an os_log format string for NSObjects (using the
1616
// format specifier %@) and for serializing NSObject into the argument buffer

stdlib/private/OSLog/OSLogStringAlignment.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public struct OSLogStringAlignment {
3232
@usableFromInline
3333
internal var anchor: OSLogCollectionBound
3434

35-
/// Initiailzes stored properties.
35+
/// Initializes stored properties.
3636
///
3737
/// - Parameters:
3838
/// - minimumColumnWidth: Minimum number of characters to be displayed. If the value to be

0 commit comments

Comments
 (0)