Lines Matching refs:RootToken
488 void UnwrappedLineFormatter::formatFirstToken(FormatToken &RootToken, in formatFirstToken() argument
494 std::min(RootToken.NewlinesBefore, Style.MaxEmptyLinesToKeep + 1); in formatFirstToken()
496 if (RootToken.is(tok::r_brace) && in formatFirstToken()
497 (!RootToken.Next || in formatFirstToken()
498 (RootToken.Next->is(tok::semi) && !RootToken.Next->Next))) in formatFirstToken()
500 if (Newlines == 0 && !RootToken.IsFirst) in formatFirstToken()
502 if (RootToken.IsFirst && !RootToken.HasUnescapedNewline) in formatFirstToken()
514 RootToken.isAccessSpecifier() && RootToken.NewlinesBefore == 1) in formatFirstToken()
519 (!PreviousLine->InPPDirective || !RootToken.HasUnescapedNewline)) in formatFirstToken()
522 Whitespaces->replaceWhitespace(RootToken, Newlines, IndentLevel, Indent, in formatFirstToken()
524 !RootToken.HasUnescapedNewline); in formatFirstToken()