Skip to content

Commit 633f101

Browse files
committed
Fix double 'the the' in various places
1 parent 06bdfa9 commit 633f101

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

docs/Generics/chapters/conformance-paths.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ \section{The Halting Problem}\label{tag systems}
11681168
\end{listing}
11691169

11701170
\begin{definition}
1171-
We encode strings over the the alphabet $\{a,b,c\}$ as compositions of the below substitution maps:
1171+
We encode strings over the alphabet $\{a,b,c\}$ as compositions of the below substitution maps:
11721172
\begin{gather*}
11731173
\SigmaAA := \SubstMapC{\SubstType{$\uptau$}{AA<$\uptau$>}}{\SubstConf{$\uptau$}{AA<$\uptau$>}{Tag}}\\
11741174
\SigmaBB := \SubstMapC{\SubstType{$\uptau$}{BB<$\uptau$>}}{\SubstConf{$\uptau$}{BB<$\uptau$>}{Tag}}\\

docs/SIL/SIL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ There are three kind of arguments:
300300
```
301301

302302
- Phi arguments: If a block has multiple predecessor blocks, the terminators of
303-
the predecessor blocks must be `br` or `cond_br` instructions and the the
303+
the predecessor blocks must be `br` or `cond_br` instructions and the
304304
operand values of those branch instructions are passed to the block's
305305
arguments. This corresponds to LLVM's phi nodes. Basic block arguments are
306306
bound by the branch from the predecessor block:

lib/Frontend/CompilerInvocation.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ static bool ParseEnabledFeatureArgs(LangOptions &Opts, ArgList &Args,
793793
if (!seenFeatures.insert(*feature).second)
794794
continue;
795795

796-
// If the the current language mode enables the feature by default then
796+
// If the current language mode enables the feature by default then
797797
// diagnose and skip it.
798798
if (auto firstVersion = getFeatureLanguageVersion(*feature)) {
799799
if (Opts.isSwiftVersionAtLeast(*firstVersion)) {

lib/SILGen/SILGenDecl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1761,7 +1761,7 @@ SILValue SILGenFunction::emitZipperedOSVersionRangeCheck(
17611761
VersionRange VariantOSVersion = variantRange;
17621762

17631763
// We're building zippered, so we need to pass both macOS and iOS
1764-
// versions to the the runtime version range check. At run time
1764+
// versions to the runtime version range check. At run time
17651765
// that check will determine what kind of process this code is loaded
17661766
// into. In a macOS process it will use the macOS version; in an
17671767
// macCatalyst process it will use the iOS version.

lib/SILGen/SILGenThunk.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ SILFunction *SILGenModule::getOrCreateForeignAsyncCompletionHandlerImplFunction(
541541
}
542542
auto blockParamIndex = [paramIndices](unsigned long i) {
543543
// The non-error, non-flag block parameter (formal types of the
544-
// completion handler's arguments) indices are the same as the the
544+
// completion handler's arguments) indices are the same as the
545545
// parameter (lowered types of the completion handler's arguments)
546546
// indices but shifted by 1 corresponding to the fact that the lowered
547547
// completion handler has a block_storage argument but the formal type

lib/SILOptimizer/Mandatory/MoveOnlyObjectCheckerUtils.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ void MoveOnlyObjectCheckerPImpl::check(
414414
}
415415

416416
// NOTE: In the following we only rewrite lifetimes once we have emitted
417-
// diagnostics. This ensures that we can emit diagnostics using the the
417+
// diagnostics. This ensures that we can emit diagnostics using the
418418
// liveness information before rewrite lifetimes has enriched the liveness
419419
// info with maximized liveness information.
420420

lib/Sema/TypeCheckMacros.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ MacroDefinition MacroDefinitionRequest::evaluate(
200200
if (!typeCheckedType)
201201
return MacroDefinition::forInvalid();
202202

203-
// If the expanded macro was one of the the magic literal expressions
203+
// If the expanded macro was one of the magic literal expressions
204204
// (like #file), there's nothing to expand.
205205
if (isa<MagicIdentifierLiteralExpr>(definition)) {
206206
StringRef expansionText = externalMacroName.unbridged();

test/IRGen/reflection_metadata_isolated_any.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// is fine. Since this is for reflective metadata, we could go a step
1111
// further if we decide we really only care about layout equivalence for
1212
// these; if so, we could just suppress the @isolated(any) part of the
13-
// type completely, since it has the the same external layout as an
13+
// type completely, since it has the same external layout as an
1414
// ordinary function type.
1515
// rdar://129861211
1616

unittests/AST/AvailabilityContextTests.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ TEST_F(AvailabilityContextTest, PlatformIntroduction) {
5959
stillMacOS10_9.constrainWithPlatformRange(getAvailabilityRange(10, 9), ctx);
6060
EXPECT_EQ(stillMacOS10_9, macOS10_9);
6161

62-
// Constrain the the macOS version to >= 10.10 instead. The resulting context
62+
// Constrain the macOS version to >= 10.10 instead. The resulting context
6363
// should be a new context that is less available than the deployment target
6464
// context (a.k.a. "contained by").
6565
auto macOS10_10 = macOS10_9;

utils/swift-xcodegen/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ PROJECT CONFIGURATION:
7575
disabled by default.
7676
7777
A development snapshot is necessary to avoid spurious build/live issues
78-
due to the fact that the the stdlib is built using the just-built Swift
78+
due to the fact that the stdlib is built using the just-built Swift
7979
compiler, which may support features not yet supported by the Swift
8080
compiler in Xcode's toolchain. (default: --no-stdlib-swift)
8181
--test-folders/--no-test-folders

utils/swift-xcodegen/Sources/swift-xcodegen/Options.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ struct ProjectOptions: ParsableArguments {
168168
disabled by default.
169169
170170
A development snapshot is necessary to avoid spurious build/live issues
171-
due to the fact that the the stdlib is built using the just-built Swift
171+
due to the fact that the stdlib is built using the just-built Swift
172172
compiler, which may support features not yet supported by the Swift
173173
compiler in Xcode's toolchain.
174174
"""

0 commit comments

Comments
 (0)