Searched refs:NextNonComment (Results 1 – 2 of 2) sorted by relevance
391 const FormatToken *NextNonComment = Previous.getNextNonComment(); in addTokenOnNewLine() local392 if (!NextNonComment) in addTokenOnNewLine()393 NextNonComment = &Current; in addTokenOnNewLine()405 if (NextNonComment->is(tok::lessless) && in addTokenOnNewLine()413 if (NextNonComment->isMemberAccess()) { in addTokenOnNewLine()416 } else if (NextNonComment->is(TT_SelectorName)) { in addTokenOnNewLine()418 if (NextNonComment->LongestObjCSelectorName == 0) { in addTokenOnNewLine()422 State.Stack.back().Indent + NextNonComment->LongestObjCSelectorName; in addTokenOnNewLine()425 State.Stack.back().ColonPos <= NextNonComment->ColumnWidth) { in addTokenOnNewLine()426 State.Stack.back().ColonPos = State.Column + NextNonComment->ColumnWidth; in addTokenOnNewLine()[all …]
1232 const FormatToken *NextNonComment = Current->getNextNonComment(); in getCurrentPrecedence() local1235 else if (NextNonComment && NextNonComment->is(tok::colon) && in getCurrentPrecedence()1236 NextNonComment->is(TT_DictLiteral)) in getCurrentPrecedence()1242 (Current->is(tok::comment) && NextNonComment && in getCurrentPrecedence()1243 NextNonComment->is(TT_SelectorName))) in getCurrentPrecedence()