mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Preserve whitespace and comments during lexing as Trivia"
This reverts commit d6e2b58382.
This commit is contained in:
@@ -4425,7 +4425,7 @@ void CodeCompletionCallbacksImpl::completePostfixExprParen(Expr *E,
|
||||
// When it appears that there is already code for the call present, just
|
||||
// complete values and/or argument labels. Otherwise give the entire call
|
||||
// pattern.
|
||||
auto next = P.peekToken();
|
||||
Token next = P.peekToken();
|
||||
if (next.isAtStartOfLine() || next.is(tok::eof)) {
|
||||
ShouldCompleteCallPatternAfterParen = true;
|
||||
} else if (next.is(tok::r_paren)) {
|
||||
|
||||
Reference in New Issue
Block a user