@@ -477,7 +477,7 @@ class Parser {
477477 savedConsumer (receiver, this ) {}
478478 void receive (const Token &tok) override { delayedTokens.push_back (tok); }
479479 Optional<std::vector<Token>> finalize () override {
480- llvm_unreachable (" Cannot finalize a DelayedTokenReciever " );
480+ llvm_unreachable (" Cannot finalize a DelayedTokenReceiver " );
481481 }
482482 ~DelayedTokenReceiver () {
483483 if (!shouldTransfer)
@@ -901,7 +901,7 @@ class Parser {
901901 // / When encountering an error or a missing matching token (e.g. '}'), return
902902 // / the location to use for it. This value should be at the last token in
903903 // / the ASTNode being parsed so that it nests within any enclosing nodes, and,
904- // / for ASTScope lookups, it does not preceed any identifiers to be looked up.
904+ // / for ASTScope lookups, it does not precede any identifiers to be looked up.
905905 // / However, the latter case does not hold when parsing an interpolated
906906 // / string literal because there may be identifiers to be looked up in the
907907 // / literal and their locations will not precede the location of a missing
@@ -1704,7 +1704,7 @@ class Parser {
17041704 // / \param inLoc The location of the 'in' keyword, if present.
17051705 // /
17061706 // / \returns ParserStatus error if an error occurred. Success if no signature
1707- // / is present or succssfully parsed.
1707+ // / is present or successfully parsed.
17081708 ParserStatus parseClosureSignatureIfPresent (
17091709 DeclAttributes &attributes,
17101710 SourceRange &bracketRange,
@@ -1982,7 +1982,7 @@ DeclName formDeclName(ASTContext &ctx,
19821982 bool isInitializer,
19831983 bool isSubscript = false );
19841984
1985- // / Form a Swift declaration name referemce from its constituent parts.
1985+ // / Form a Swift declaration name reference from its constituent parts.
19861986DeclNameRef formDeclNameRef (ASTContext &ctx,
19871987 StringRef baseName,
19881988 ArrayRef<StringRef> argumentLabels,
0 commit comments