Home
last modified time | relevance | path

Searched refs:NextNonComment (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Format/
DContinuationIndenter.cpp354 const FormatToken *NextNonComment = Previous.getNextNonComment(); in addTokenOnNewLine() local
355 if (!NextNonComment) in addTokenOnNewLine()
356 NextNonComment = &Current; in addTokenOnNewLine()
368 if (NextNonComment->is(tok::lessless) && in addTokenOnNewLine()
375 if (NextNonComment->isMemberAccess()) { in addTokenOnNewLine()
378 } else if (NextNonComment->Type == TT_SelectorName) { in addTokenOnNewLine()
380 if (NextNonComment->LongestObjCSelectorName == 0) { in addTokenOnNewLine()
384 State.Stack.back().Indent + NextNonComment->LongestObjCSelectorName; in addTokenOnNewLine()
387 State.Stack.back().ColonPos <= NextNonComment->ColumnWidth) { in addTokenOnNewLine()
388 State.Stack.back().ColonPos = State.Column + NextNonComment->ColumnWidth; in addTokenOnNewLine()
[all …]