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 Newlines, "", "", Tok.Tok.getKind(), InPPDirective && !Tok.IsFirst, in replaceWhitespace()
77 unsigned Newlines, unsigned IndentLevel, int Spaces) { in replaceWhitespaceInToken() argument
83 IndentLevel, Spaces, std::max(0, Spaces), Newlines, PreviousPostfix, in replaceWhitespaceInToken()
90 Tok.is(TT_LineComment) && Newlines > 0 ? tok::comment : tok::unknown, in replaceWhitespaceInToken()
335 unsigned Newlines = 0; in alignTrailingComments() local
339 Newlines += Changes[i].NewlinesBefore; in alignTrailingComments()
374 } else if (BreakBeforeNext || Newlines > 1 || in alignTrailingComments()
394 Newlines = 0; in alignTrailingComments()
488 unsigned Newlines) { in appendNewlineText() argument
489 for (unsigned i = 0; i < Newlines; ++i) in appendNewlineText()
493 void WhitespaceManager::appendNewlineText(std::string &Text, unsigned Newlines, in appendNewlineText() argument
496 if (Newlines > 0) { in appendNewlineText()
499 for (unsigned i = 0; i < Newlines; ++i) { in appendNewlineText()