Searched refs:NextNonComment (Results 1 – 3 of 3) sorted by relevance
766 const FormatToken *NextNonComment = Previous.getNextNonComment(); in addTokenOnNewLine() local767 if (!NextNonComment) in addTokenOnNewLine()768 NextNonComment = &Current; in addTokenOnNewLine()780 if (NextNonComment->is(tok::lessless) && in addTokenOnNewLine()821 if (NextNonComment->isMemberAccess()) { in addTokenOnNewLine()824 } else if (NextNonComment->is(TT_SelectorName)) { in addTokenOnNewLine()826 if (NextNonComment->LongestObjCSelectorName == 0) { in addTokenOnNewLine()834 std::max(NextNonComment->LongestObjCSelectorName, in addTokenOnNewLine()835 NextNonComment->ColumnWidth); in addTokenOnNewLine()838 State.Stack.back().ColonPos <= NextNonComment->ColumnWidth) { in addTokenOnNewLine()[all …]
1158 const auto *NextNonComment = C.Tok->getNextNonComment(); in getCells() local1159 while (NextNonComment->is(tok::comma)) in getCells()1160 NextNonComment = NextNonComment->getNextNonComment(); in getCells()1162 while (Changes[j].Tok != NextNonComment && j < End) in getCells()
2220 const FormatToken *NextNonComment = Current->getNextNonComment(); in getCurrentPrecedence() local2223 if (NextNonComment && Current->is(TT_SelectorName) && in getCurrentPrecedence()2224 (NextNonComment->isOneOf(TT_DictLiteral, TT_JsTypeColon) || in getCurrentPrecedence()2227 NextNonComment->is(tok::less)))) in getCurrentPrecedence()2236 (Current->is(tok::comment) && NextNonComment && in getCurrentPrecedence()2237 NextNonComment->is(TT_SelectorName))) in getCurrentPrecedence()