Gardening: Fix spelling mistakes in */SourceKit

* about
* and
* answering
* because
* before
* cancellation
* clear
* comment
* complete
* corresponding
* cursor
* custom
* dependencies
* doesn't
* expression
* extension
* immediately
* implementation
* implicit
* innovation
* intentionally
* occasionally
* oldest
* parameter
* property
* response
* reuseastcontext
* snapshot
* sourcekit_swift_runtime_link_flags
* synchronously
* target
* that
* unlabeled
* usefulness
* work

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2022-04-17 15:14:51 -04:00
committed by Josh Soref
parent 804e3f0968
commit 436484c8c8
31 changed files with 65 additions and 65 deletions

View File

@@ -615,7 +615,7 @@ struct SwiftSemanticToken {
#if !defined(_MSC_VER)
static_assert(sizeof(SwiftSemanticToken) == 8, "Too big");
// FIXME: MSVC doesn't pack bitfields with different underlying types.
// Giving up to check this in MSVC for now, becasue static_assert is only for
// Giving up to check this in MSVC for now, because static_assert is only for
// keeping low memory usage.
#endif
@@ -2078,7 +2078,7 @@ void SwiftEditorDocument::readSyntaxInfo(EditorConsumer &Consumer, bool ReportDi
bool SawChanges = true;
if (Impl.Edited) {
// We're ansering an edit request. Report all highlighted token ranges not
// We're answering an edit request. Report all highlighted token ranges not
// in the previous syntax map to the Consumer and extend the AffectedRange
// to contain all added/removed token ranges.
SawChanges =
@@ -2546,7 +2546,7 @@ void SwiftLangSupport::editorReplaceText(StringRef Name,
SyntaxCache->addEdit(Offset, Offset + Length, Buf->getBufferSize());
}
// If client doesn't need any information, we doen't need to parse it.
// If client doesn't need any information, we doesn't need to parse it.
SyntaxParsingCache *SyntaxCachePtr = nullptr;