mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Two typo corrections for SwiftEditor.cpp
Lines 1132 and 2666. Thank you.
This commit is contained in:
@@ -1129,7 +1129,7 @@ std::vector<UIdent> UIDsFromDeclAttributes(const DeclAttributes &Attrs) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// We handle accessibility explicitely.
|
||||
// We handle accessibility explicitly.
|
||||
case DAK_Accessibility:
|
||||
case DAK_SetterAccessibility:
|
||||
continue;
|
||||
@@ -2663,7 +2663,7 @@ void SwiftEditorDocument::expandPlaceholder(unsigned Offset, unsigned Length,
|
||||
// For example:
|
||||
// foo.bar(a, <#closure#>) turns into foo.bar(a) <#closure#>.
|
||||
|
||||
// If the preceeding token in the call is the leading parameter
|
||||
// If the preceding token in the call is the leading parameter
|
||||
// separator, we'll expand replacement to cover that.
|
||||
assert(Elems.size() > 1);
|
||||
SourceLoc BeforeLoc = Lexer::getLocForEndOfToken(SM,
|
||||
|
||||
Reference in New Issue
Block a user