Revert "Preserve whitespace and comments during lexing as Trivia"

This reverts commit d6e2b58382.
This commit is contained in:
David Farler
2016-11-18 12:22:53 -08:00
parent 44f15558d6
commit f450f0ccdf
56 changed files with 1048 additions and 1816 deletions

View File

@@ -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)) {