Two typo corrections for SwiftEditor.cpp

Lines 1132 and 2666. Thank you.
This commit is contained in:
Tysun M
2015-12-09 14:25:30 -08:00
parent 2c5c3ed2c6
commit faddc283be

View File

@@ -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,