Searched refs:RootToken (Results 1 – 2 of 2) sorted by relevance
87 int getIndentOffset(const FormatToken &RootToken) { in getIndentOffset() argument91 if (RootToken.isAccessSpecifier(false) || in getIndentOffset()92 RootToken.isObjCAccessSpecifier() || in getIndentOffset()93 (RootToken.isOneOf(Keywords.kw_signals, Keywords.kw_qsignals) && in getIndentOffset()94 RootToken.Next && RootToken.Next->is(tok::colon))) in getIndentOffset()906 void UnwrappedLineFormatter::formatFirstToken(FormatToken &RootToken, in formatFirstToken() argument911 if (RootToken.is(tok::eof)) { in formatFirstToken()912 unsigned Newlines = std::min(RootToken.NewlinesBefore, 1u); in formatFirstToken()913 Whitespaces->replaceWhitespace(RootToken, Newlines, /*IndentLevel=*/0, in formatFirstToken()918 std::min(RootToken.NewlinesBefore, Style.MaxEmptyLinesToKeep + 1); in formatFirstToken()[all …]
49 void formatFirstToken(FormatToken &RootToken,