Searched refs:NextNonComment (Results 1 – 2 of 2) sorted by relevance
416 const FormatToken *NextNonComment = Previous.getNextNonComment(); in addTokenOnNewLine() local417 if (!NextNonComment) in addTokenOnNewLine()418 NextNonComment = &Current; in addTokenOnNewLine()430 if (NextNonComment->is(tok::lessless) && in addTokenOnNewLine()452 if (NextNonComment->isMemberAccess()) { in addTokenOnNewLine()455 } else if (NextNonComment->is(TT_SelectorName)) { in addTokenOnNewLine()457 if (NextNonComment->LongestObjCSelectorName == 0) { in addTokenOnNewLine()465 NextNonComment->LongestObjCSelectorName; in addTokenOnNewLine()468 State.Stack.back().ColonPos <= NextNonComment->ColumnWidth) { in addTokenOnNewLine()469 State.Stack.back().ColonPos = State.Column + NextNonComment->ColumnWidth; in addTokenOnNewLine()[all …]
1361 const FormatToken *NextNonComment = Current->getNextNonComment(); in getCurrentPrecedence() local1364 if (NextNonComment && NextNonComment->is(tok::colon) && in getCurrentPrecedence()1365 NextNonComment->is(TT_DictLiteral)) in getCurrentPrecedence()1373 (Current->is(tok::comment) && NextNonComment && in getCurrentPrecedence()1374 NextNonComment->is(TT_SelectorName))) in getCurrentPrecedence()