Lines Matching refs:Newlines
50 void WhitespaceManager::replaceWhitespace(FormatToken &Tok, unsigned Newlines, in replaceWhitespace() argument
56 Tok.Decision = (Newlines > 0) ? FD_Break : FD_Continue; in replaceWhitespace()
59 Spaces, StartOfTokenColumn, Newlines, "", "", Tok.Tok.getKind(), in replaceWhitespace()
80 unsigned Newlines, unsigned IndentLevel, int Spaces) { in replaceWhitespaceInToken() argument
86 IndentLevel, Spaces, std::max(0, Spaces), Newlines, PreviousPostfix, in replaceWhitespaceInToken()
90 /*IsInsideToken=*/Newlines == 0)); in replaceWhitespaceInToken()
347 unsigned Newlines = 0; in alignTrailingComments() local
351 Newlines += Changes[i].NewlinesBefore; in alignTrailingComments()
396 } else if (BreakBeforeNext || Newlines > 1 || in alignTrailingComments()
416 Newlines = 0; in alignTrailingComments()
510 unsigned Newlines) { in appendNewlineText() argument
511 for (unsigned i = 0; i < Newlines; ++i) in appendNewlineText()
515 void WhitespaceManager::appendNewlineText(std::string &Text, unsigned Newlines, in appendNewlineText() argument
518 if (Newlines > 0) { in appendNewlineText()
521 for (unsigned i = 0; i < Newlines; ++i) { in appendNewlineText()