Skip to content

Spelling #42421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 44 commits into
base: main
Choose a base branch
from
Draft

Spelling #42421

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
96b544f
spelling: availability
jsoref Apr 17, 2022
a3d6dcb
spelling: available
jsoref Apr 17, 2022
039ad71
spelling: because
jsoref Apr 17, 2022
4d55a19
spelling: completion
jsoref Apr 19, 2022
ad0c427
spelling: declaring
jsoref Apr 17, 2022
60a2e45
spelling: diagnose
jsoref Apr 17, 2022
89e7954
spelling: diagnostic
jsoref Apr 17, 2022
7c97973
spelling: dictionary
jsoref Apr 17, 2022
3e9aaf3
spelling: differentiate
jsoref Apr 17, 2022
64cc86e
spelling: disable
jsoref Apr 17, 2022
3e55275
spelling: dummy
jsoref Apr 17, 2022
c39779e
spelling: existence
jsoref Apr 17, 2022
41366d5
spelling: explicitly
jsoref Apr 17, 2022
3ae9e39
spelling: expressions
jsoref Apr 17, 2022
c2f2941
spelling: flaky
jsoref Apr 17, 2022
6eb8383
spelling: forward
jsoref Apr 17, 2022
b047b61
spelling: function
jsoref Apr 17, 2022
6a96204
spelling: have
jsoref Apr 17, 2022
5189154
spelling: important
jsoref Apr 17, 2022
48103e0
spelling: imported
jsoref Apr 17, 2022
2fe8cde
spelling: inconsistent
jsoref Apr 17, 2022
1865d65
spelling: interpret
jsoref Apr 17, 2022
7cd8668
spelling: kyrtzidis
jsoref Apr 17, 2022
c5f50a2
spelling: lousy
jsoref Apr 17, 2022
d8fe11d
spelling: nonexistent
jsoref Apr 19, 2022
cbbf38a
spelling: offset
jsoref May 1, 2022
7f6cce8
spelling: overload
jsoref Apr 17, 2022
8ea2944
spelling: overridden
jsoref May 1, 2022
f4e1797
spelling: parameter
jsoref Apr 17, 2022
903a1d9
spelling: platforms
jsoref Apr 17, 2022
d39e869
spelling: refers
jsoref Apr 17, 2022
b8b45b6
spelling: relative
jsoref Apr 17, 2022
c1092c7
spelling: requirement
jsoref Apr 17, 2022
1244ba6
spelling: respective
jsoref Apr 17, 2022
b9c5def
spelling: resurrect
jsoref Apr 17, 2022
3fd637e
spelling: satisfied
jsoref Apr 17, 2022
b69d4d4
spelling: should
jsoref Apr 17, 2022
4de4ea8
spelling: statement
jsoref Apr 17, 2022
0a2444d
spelling: syntax
jsoref Apr 17, 2022
25b6050
spelling: that
jsoref Apr 17, 2022
c409270
spelling: the
jsoref Apr 17, 2022
f9c12b7
spelling: unpredictable
jsoref Apr 17, 2022
3520df8
spelling: visited
jsoref Apr 17, 2022
c86aa55
spelling: would
jsoref Apr 18, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CODE_OWNERS.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ E: [email protected]
G: jckarter
D: SIL, SILGen, everything in Swift not covered by someone else

N: Argyrios Kyrzidis
N: Argyrios Kyrtzidis
E: [email protected]
Comment on lines -40 to 41
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The email address appears correct and this is the name.

G: akyrtzi
D: IDE, Index, SourceKit, swift-ide-test
Expand Down
2 changes: 1 addition & 1 deletion docs/proposals/Accessors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ and crashes are acceptable in their wake.)

However, addressors are not atomic in this way: they return an address
to the caller, which may then interleave arbitrary code before
completing the operation. This can present the opportunity for
completion the operation. This can present the opportunity for
corruption if the interleaved code modifies the original value.
Consider the following code::

Expand Down
2 changes: 1 addition & 1 deletion include/swift/ABI/Metadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ struct TargetClassMetadata : public TargetAnyClassMetadataVariant {
//
// Using Objective-C runtime, KVO can modify object behavior without needing
// to modify the object's code. This is done by dynamically creating an
// artificial subclass of the the object's type.
// artificial subclass of the object's type.
//
// The isa pointer of the observed object is swapped out to point to
// the artificial subclass, which has the following properties:
Expand Down
2 changes: 1 addition & 1 deletion include/swift/ABI/TaskOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class TaskGroupTaskOptionRecord : public TaskOptionRecord {

/// Task option to specify on what executor the task should be executed.
///
/// Not passing this option implies that that a "best guess" or good default
/// Not passing this option implies that a "best guess" or good default
/// executor should be used instead, most often this may mean the global
/// concurrent executor, or the enclosing actor's executor.
class ExecutorTaskOptionRecord : public TaskOptionRecord {
Expand Down
2 changes: 1 addition & 1 deletion include/swift/Concurrency/Actor.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ enum : uint32_t {
// It is possible for an actor to be in Running and yet completely released
// by clients. However, the actor needs to be kept alive until it is done
// executing the task that is running on it and gives it up. It is only
// after that that we can safely deallocate it.
// after that we can safely deallocate it.
ActorStateMask = 0x7,

/// The actor is not currently scheduled. Completely redundant
Expand Down
2 changes: 1 addition & 1 deletion include/swift/Demangling/Demangler.h
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ class Demangler : public NodeFactory {

/// A demangler which uses stack space for its initial memory.
///
/// The \p Size paramter specifies the size of the stack space.
/// The \p Size parameter specifies the size of the stack space.
template <size_t Size> class StackAllocatedDemangler : public Demangler {
char StackSpace[Size];

Expand Down
26 changes: 13 additions & 13 deletions include/swift/Reflection/TypeRefBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -1033,13 +1033,13 @@ class TypeRefBuilder {
auto parentOffsetAddress = detail::applyRelativeOffset(
(const char *)contextDescriptorAddress,
(int32_t)contextDescriptor->getParentOffset());
auto parentOfsetBytes = OpaqueByteReader(
auto parentOffsetBytes = OpaqueByteReader(
remote::RemoteAddress(parentOffsetAddress), sizeof(uint32_t));
if (!parentOfsetBytes.get()) {
if (!parentOffsetBytes.get()) {
Error = "Failed to parent offset in a type descriptor.";
return llvm::None;
}
auto parentFieldOffset = (const int32_t *)parentOfsetBytes.get();
auto parentFieldOffset = (const int32_t *)parentOffsetBytes.get();
auto parentTargetAddress = detail::applyRelativeOffset(
(const char *)parentOffsetAddress, *parentFieldOffset);

Expand Down Expand Up @@ -1128,13 +1128,13 @@ class TypeRefBuilder {
auto typeNameOffsetAddress =
detail::applyRelativeOffset((const char *)typeDescriptorAddress,
(int32_t)typeDescriptor->getNameOffset());
auto typeNameOfsetBytes = OpaqueByteReader(
auto typeNameOffsetBytes = OpaqueByteReader(
remote::RemoteAddress(typeNameOffsetAddress), sizeof(uint32_t));
if (!typeNameOfsetBytes.get()) {
if (!typeNameOffsetBytes.get()) {
Error = "Failed to read type name offset in a type descriptor.";
return llvm::None;
}
auto typeNameOffset = (const uint32_t *)typeNameOfsetBytes.get();
auto typeNameOffset = (const uint32_t *)typeNameOffsetBytes.get();
auto typeNameAddress = detail::applyRelativeOffset(
(const char *)typeNameOffsetAddress, (int32_t)*typeNameOffset);
std::string typeName;
Expand All @@ -1149,15 +1149,15 @@ class TypeRefBuilder {
auto parentNameOffsetAddress = detail::applyRelativeOffset(
(const char *)moduleDescriptorAddress,
(int32_t)moduleDescriptor->getNameOffset());
auto parentNameOfsetBytes = OpaqueByteReader(
auto parentNameOffsetBytes = OpaqueByteReader(
remote::RemoteAddress(parentNameOffsetAddress), sizeof(uint32_t));
if (!parentNameOfsetBytes.get()) {
if (!parentNameOffsetBytes.get()) {
Error = "Failed to read parent name offset in a module descriptor.";
return llvm::None;
}
auto parentNameOfset = (const uint32_t *)parentNameOfsetBytes.get();
auto parentNameOffset = (const uint32_t *)parentNameOffsetBytes.get();
auto parentNameAddress = detail::applyRelativeOffset(
(const char *)parentNameOffsetAddress, (int32_t)*parentNameOfset);
(const char *)parentNameOffsetAddress, (int32_t)*parentNameOffset);
std::string parentName;
OpaqueStringReader(remote::RemoteAddress(parentNameAddress), parentName);
return parentName;
Expand All @@ -1183,13 +1183,13 @@ class TypeRefBuilder {
auto protocolNameOffsetAddress = detail::applyRelativeOffset(
(const char *)protocolDescriptorAddress,
(int32_t)protocolDescriptor->getNameOffset());
auto protocolNameOfsetBytes = OpaqueByteReader(
auto protocolNameOffsetBytes = OpaqueByteReader(
remote::RemoteAddress(protocolNameOffsetAddress), sizeof(uint32_t));
if (!protocolNameOfsetBytes.get()) {
if (!protocolNameOffsetBytes.get()) {
Error = "Failed to read type name offset in a protocol descriptor.";
return llvm::None;
}
auto protocolNameOffset = (const uint32_t *)protocolNameOfsetBytes.get();
auto protocolNameOffset = (const uint32_t *)protocolNameOffsetBytes.get();

// Using the offset above, compute the address of the name field itsel
// and read it.
Expand Down
2 changes: 1 addition & 1 deletion include/swift/Syntax/Syntax.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class OwnedSyntaxRef {

/// Same as \c OwnedSyntaxRef but can be null. We don't use \c
/// Optional<OwnedSyntaxRef<SyntaxRefType>>>, because then we couldn't access
/// the underlying \c SytnaxRefType via the \c -> operator (the use of \c ->
/// the underlying \c SyntaxRefType via the \c -> operator (the use of \c ->
/// would access the \c OwnedSyntaxRef<SyntaxRefType> wrapped by \c Optional and
/// not the \c SyntaxRefType wrapped by \c OwnedSyntaxRef.
template <typename SyntaxRefType>
Expand Down
2 changes: 1 addition & 1 deletion lib/Demangling/NodePrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2551,7 +2551,7 @@ NodePointer NodePrinter::print(NodePointer Node, unsigned depth,
if (index != 0)
Printer << ", ";
// Limit the number of printed generic parameters. In practice this
// it will never be exceeded. The limit is only imporant for malformed
// it will never be exceeded. The limit is only important for malformed
// symbols where count can be really huge.
if (index >= 128) {
Printer << "...";
Expand Down
2 changes: 1 addition & 1 deletion lib/Localization/LocalizationFormat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ readYAML(llvm::yaml::IO &io, T &Seq, T &unknownIDs, bool, Context &Ctx) {
io.beginMapping();

// If the current diagnostic ID is available in YAML and in `.def`, add it
// to the diagnostics array. Otherwise, re-parse the current diagnnostic
// to the diagnostics array. Otherwise, re-parse the current diagnostic
// id as a string and store it in `unknownIDs` array.
if (auto id = LocalizationInput::readID(io)) {
// YAML file isn't guaranteed to have diagnostics in order of their
Expand Down
4 changes: 2 additions & 2 deletions lib/Migrator/APIDiffMigratorPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ struct APIDiffMigratorPass : public ASTMigratorPass, public SourceEntityWalker {
if (Params.size() <= Idx)
return;

// Get the internal name of the changed paramter.
// Get the internal name of the changed parameter.
auto VariableName = Params[Idx]->getParameterName().str();

// Insert the helper function to convert the type back to raw types.
Expand Down Expand Up @@ -1432,7 +1432,7 @@ struct APIDiffMigratorPass : public ASTMigratorPass, public SourceEntityWalker {
if (auto *VD = dyn_cast<VarDecl>(D)) {
for (auto *Item: getRelatedDiffItems(VD)) {
if (auto *CD = dyn_cast<CommonDiffItem>(Item)) {
// If the overriden property has been renamed, we should rename
// If the overridden property has been renamed, we should rename
// this property decl as well.
if (CD->isRename() && VD->getNameLoc().isValid()) {
Editor.replaceToken(VD->getNameLoc(), CD->getNewName());
Expand Down
2 changes: 1 addition & 1 deletion lib/Migrator/Diff.h
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ class diff_match_patch {
static string_t diff_linesToCharsMunge(const string_t &text, std::map<LinePtr, size_t> &lineHash) {
string_t chars;
// Walk the text, pulling out a substring for each line.
// text.split('\n') would would temporarily double our memory footprint.
// text.split('\n') would temporarily double our memory footprint.
// Modifying text would create many large strings to garbage collect.
typename string_t::size_type lineLen;
for (typename string_t::const_pointer lineStart = text.c_str(), textEnd = lineStart + text.size(); lineStart < textEnd; lineStart += lineLen + 1) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Option/SanitizerOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ OptionSet<SanitizerKind> swift::parseSanitizerArgValues(
}
SanitizerKind kind = optKind.getValue();

// Support is determined by existance of the sanitizer library.
// Support is determined by existence of the sanitizer library.
auto fileName = toFileName(kind);
bool isShared = (kind != SanitizerKind::Fuzzer);
bool sanitizerSupported = sanitizerRuntimeLibExists(fileName, isShared);
Expand Down
4 changes: 2 additions & 2 deletions lib/PrintAsClang/DeclAndTypePrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ class DeclAndTypePrinter::Implementation
printDocumentationComment(CD);

// This is just for testing, so we check explicitly for the attribute instead
// of asking if the class is weak imported. If the class has availablility,
// we'll print a SWIFT_AVAIALBLE() which implies __attribute__((weak_imported))
// of asking if the class is weak imported. If the class has availability,
// we'll print a SWIFT_AVAILABLE() which implies __attribute__((weak_imported))
// already.
if (CD->getAttrs().hasAttribute<WeakLinkedAttr>())
os << "SWIFT_WEAK_IMPORT\n";
Expand Down
2 changes: 1 addition & 1 deletion lib/Syntax/SyntaxSerialization.cpp.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}%
//// Automatically Generated From SyntaxSerialization.cpp.gyb.
//// Do Not Edit Directly!
//===---------------------- SytnaxSerialization.cpp -----------------------===//
//===---------------------- SyntaxSerialization.cpp -----------------------===//
Comment on lines 9 to +11
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I be concerned about this auto generation?

//
// This source file is part of the Swift.org open source project
//
Expand Down
4 changes: 2 additions & 2 deletions lib/SyntaxParse/SyntaxTreeCreator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,14 @@ OpaqueSyntaxNode SyntaxTreeCreator::makeDeferredLayout(

OpaqueSyntaxNode
SyntaxTreeCreator::recordDeferredToken(OpaqueSyntaxNode deferred) {
// We don't diffirentiate between deferred and recorded nodes. See comment in
// We don't differentiate between deferred and recorded nodes. See comment in
// makeDeferredToken.
return deferred;
}

OpaqueSyntaxNode
SyntaxTreeCreator::recordDeferredLayout(OpaqueSyntaxNode deferred) {
// We don't diffirentiate between deferred and recorded nodes. See comment in
// We don't differentiate between deferred and recorded nodes. See comment in
// makeDeferredToken.
return deferred;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/TBDGen/TBDGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ getLinkerPlatformName(OriginallyDefinedInAttr::ActiveVersion Ver) {
return getLinkerPlatformName((uint8_t)getLinkerPlatformId(Ver));
}

/// Find the most relevant introducing version of the decl stack we have visted
/// Find the most relevant introducing version of the decl stack we have visited
/// so far.
static Optional<llvm::VersionTuple>
getInnermostIntroVersion(ArrayRef<Decl*> DeclStack, PlatformKind Platform) {
Expand Down
6 changes: 3 additions & 3 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ endif()
foreach(SDK ${SWIFT_SDKS})
foreach(ARCH ${SWIFT_SDK_${SDK}_ARCHITECTURES})
# macCatalyst needs to run two sets of tests: one with the normal macosx target triple
# and one with the the macCatalyst ios-macabi triple. The build_flavors list will
# have have only the "default" flavor for all SDKs and architectures except
# and one with the macCatalyst ios-macabi triple. The build_flavors list will
# have only the "default" flavor for all SDKs and architectures except
# OSX when macCatalyst support is enabled.
get_swift_test_build_flavors(build_flavors "${SDK}")

Expand Down Expand Up @@ -296,7 +296,7 @@ foreach(SDK ${SWIFT_SDKS})
"swift-test-stdlib-${SWIFT_SDK_${SDK}_LIB_SUBDIR}")

if(BUILD_FLAVOR STREQUAL "ios-like")
# When testing the iOS-like build flavor, use the the normal macOS
# When testing the iOS-like build flavor, use the normal macOS
# swift-reflection-test-tool. That tool runs out of process so it
# doesn't need to be build for macCatalyst.
list(APPEND test_dependencies
Expand Down
2 changes: 1 addition & 1 deletion test/Compatibility/tuple_arguments_4.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// https://bugs.swift.org/browse/SR-6837

// FIXME: Can't overlaod local functions so these must be top-level
// FIXME: Can't overload local functions so these must be top-level
func takePairOverload(_ pair: (Int, Int?)) {}
func takePairOverload(_: () -> ()) {}

Expand Down
2 changes: 1 addition & 1 deletion test/CrossImport/remark-option.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
// RUN: %target-typecheck-verify-swift -enable-cross-import-overlays -Rcross-import -I %t/include -I %t/lib/swift -F %t/Frameworks

import DeclaringLibrary
// FIXME: Similarly to horrible.swift, ideally we would emit this remark on DelcaringLibrary
// FIXME: Similarly to horrible.swift, ideally we would emit this remark on DeclaringLibrary
// decl, since the cross-import overlay actually belongs to the DeclaringLibrary. (SR-12223)
import BystandingLibrary // expected-remark {{import of 'DeclaringLibrary' and 'BystandingLibrary' triggered a cross-import of '_OverlayLibrary'}}
4 changes: 2 additions & 2 deletions test/Inputs/polymorphic_builtins.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ extension SIMDStorage {
@inline(never)
get {
// Will never be called unless `_hasVectorRepresentation == true`,
// in which case this implementation would be overriden in stdlib
// in which case this implementation would be overridden in stdlib
fatalError("""
Error! Called default SIMDStorage._vector impl?! A SIMDStorage class
overrides _hasVectorRepresentation to return true, but did not provide
Expand Down Expand Up @@ -83,7 +83,7 @@ extension SIMDStorage {
@inline(never)
public init(_storage: _InnerStorage) {
// Will never be called unless `_hasVectorRepresentation == true`, in
// which case this implementation would be overriden in stdlib
// which case this implementation would be overridden in stdlib
fatalError("""
Error! Called default SIMDStorage.init(_vector) impl?! A SIMDStorage class
overrides _hasVectorRepresentation to return true, but did not provide an
Expand Down
4 changes: 2 additions & 2 deletions test/Migrator/swift_version_change.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// REQUIRES: OS=macosx
// RUN: %empty-directory(%t) && %target-swift-frontend -typecheck -update-code -primary-file %s -emit-migrated-file-path %t/dummpy.result -swift-version 4 %api_diff_data_dir
// RUN: %target-swift-frontend -typecheck -update-code -primary-file %s -emit-migrated-file-path %t/dummpy.result -swift-version 5 %api_diff_data_dir
// RUN: %empty-directory(%t) && %target-swift-frontend -typecheck -update-code -primary-file %s -emit-migrated-file-path %t/dummy.result -swift-version 4 %api_diff_data_dir
// RUN: %target-swift-frontend -typecheck -update-code -primary-file %s -emit-migrated-file-path %t/dummy.result -swift-version 5 %api_diff_data_dir
Comment on lines -2 to +3
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's sometimes possible that py is python, but, I'm guessing it isn't here.


func foo() {}
8 changes: 4 additions & 4 deletions test/Misc/serialized-diagnostics-interpret-mode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

// RUN: %target-swift-frontend -typecheck -serialize-diagnostics-path %t.dia %s -verify
// RUN: %target-swift-frontend -typecheck -serialize-diagnostics-path=%t_EQ.dia %s -verify
// RUN: not %swift_driver -serialize-diagnostics-path %t_intepret_mode.dia %s
// RUN: not %swift_driver -serialize-diagnostics-path=%t_EQ_intepret_mode.dia %s
// RUN: not %swift_driver -serialize-diagnostics-path %t_interpret_mode.dia %s
// RUN: not %swift_driver -serialize-diagnostics-path=%t_EQ_interpret_mode.dia %s

// RUN: diff %t.dia %t_EQ.dia
// RUN: diff %t.dia %t_intepret_mode.dia
// RUN: diff %t.dia %t_EQ_intepret_mode.dia
// RUN: diff %t.dia %t_interpret_mode.dia
// RUN: diff %t.dia %t_EQ_interpret_mode.dia

var x = 1 x = 2 // expected-error {{consecutive statements on a line must be separated by ';'}} {{10-10=;}}
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
// RUN: echo '2: PASSED'


// 3) Baseline check: Make sure we use the the prebuilt module cache when using the SDK it was built with
// 3) Baseline check: Make sure we use the prebuilt module cache when using the SDK it was built with
//
// RUN: %target-swift-frontend -typecheck -I %t/my-sdk -sdk %t/my-sdk -prebuilt-module-cache-path %t/prebuilt-cache -module-cache-path %t/MCP -emit-dependencies-path %t/dummy.d -track-system-dependencies -disable-modules-validate-system-headers %s
//
Expand Down
2 changes: 1 addition & 1 deletion test/ModuleInterface/ModuleCache/SDKDependencies.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
// RUN: echo '2: PASSED'


// 3) Baseline check: Make sure we use the the prebuilt module cache when using the SDK it was built with
// 3) Baseline check: Make sure we use the prebuilt module cache when using the SDK it was built with
//
// RUN: %target-swift-frontend -typecheck -I %t/my-sdk -sdk %t/my-sdk -prebuilt-module-cache-path %t/prebuilt-cache -module-cache-path %t/MCP -emit-dependencies-path %t/dummy.d -track-system-dependencies -emit-loaded-module-trace-path %t/trace.json %s
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

// RUN: %target-swift-frontend -typecheck -sdk '%t/SDK' -prebuilt-module-cache-path '%t/PreBuiltSDKModules' -module-cache-path %t/TempModuleCacheOther -resource-dir '' -parse-stdlib -Rmodule-interface-rebuild %S/Inputs/sdk-test-stdlib-no-ossa-referent-no-rebuild-remark.swift -verify -enable-ossa-modules

// Flacky hangs: rdar://77288690
// Flaky hangs: rdar://77288690
// UNSUPPORTED: CPU=arm64, CPU=arm64e

@_fixed_layout
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This test is intentionally specialized on windows becauase not --crash behaves
# This test is intentionally specialized on windows because not --crash behaves
# differently there. The exit code from the crashing frontend invocations is
# mapped to `-21` there, which lit's `not` along does not remap correctly.
# See rdar://59397376
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Body of closure in parameter to call of closureTaker is created lazily
// and this test ensures that that body scope does get expanded
// and this test ensures that body scope does get expanded
var v = closureTaker {
func amIFound() {}
}
Expand Down
6 changes: 3 additions & 3 deletions test/Profiler/converage_result_builder.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %target-swift-frontend -Xllvm -sil-full-demangle -profile-generate -profile-coverage-mapping -emit-sorted-sil -emit-sil -module-name coverage_functon_builder %s | %FileCheck %s
// RUN: %target-swift-frontend -Xllvm -sil-full-demangle -profile-generate -profile-coverage-mapping -emit-sorted-sil -emit-sil -module-name coverage_function_builder %s | %FileCheck %s
// RUN: %target-swift-frontend -profile-generate -profile-coverage-mapping -emit-ir %s

@resultBuilder
Expand All @@ -11,15 +11,15 @@ struct Summer {
}
}

// CHECK-LABEL: sil_coverage_map {{.*}} "$s24coverage_functon_builder5test0SiyF"
// CHECK-LABEL: sil_coverage_map {{.*}} "$s24coverage_function_builder5test0SiyF"
@Summer
func test0() -> Int {
// CHECK: [[@LINE-1]]:21 -> [[@LINE+3]]:2 : 0
18
12
}

// CHECK-LABEL: sil_coverage_map {{.*}} "$s24coverage_functon_builder5test1SiyF"
// CHECK-LABEL: sil_coverage_map {{.*}} "$s24coverage_function_builder5test1SiyF"
@Summer
func test1() -> Int {
// CHECK: [[@LINE-1]]:21 -> [[@LINE+7]]:2 : 0
Expand Down
2 changes: 1 addition & 1 deletion test/Prototypes/DoubleWidth.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import StdlibUnittest

// XXX: Auxiliary tests & benchmark for DoubleWidth were removed in PR #23024.
// When the DoubleWidth makes comeback, revert the commits from there to
// ressurect what was just a dead code in the meantime…
// resurrect what was just a dead code in the meantime…

/// A fixed-width integer that has twice the bit width of its base type.
///
Expand Down
Loading