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()902 void UnwrappedLineFormatter::formatFirstToken(FormatToken &RootToken, in formatFirstToken() argument907 if (RootToken.is(tok::eof)) { in formatFirstToken()908 unsigned Newlines = std::min(RootToken.NewlinesBefore, 1u); in formatFirstToken()909 Whitespaces->replaceWhitespace(RootToken, Newlines, /*IndentLevel=*/0, in formatFirstToken()914 std::min(RootToken.NewlinesBefore, Style.MaxEmptyLinesToKeep + 1); in formatFirstToken()[all …]
49 void formatFirstToken(FormatToken &RootToken,