Searched refs:RootToken (Results 1 – 2 of 2) sorted by relevance
79 int getIndentOffset(const FormatToken &RootToken) { in getIndentOffset() argument83 if (RootToken.isAccessSpecifier(false) || in getIndentOffset()84 RootToken.isObjCAccessSpecifier() || RootToken.is(Keywords.kw_signals)) in getIndentOffset()91 void formatFirstToken(FormatToken &RootToken,
488 void UnwrappedLineFormatter::formatFirstToken(FormatToken &RootToken, in formatFirstToken() argument494 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()[all …]