Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DContinuationIndenter.cpp353 const FormatToken *PreviousNonComment = Current.getPreviousNonComment(); in addTokenOnNewLine() local
390 } else if (PreviousNonComment && PreviousNonComment->is(tok::colon) && in addTokenOnNewLine()
391 (PreviousNonComment->Type == TT_ObjCMethodExpr || in addTokenOnNewLine()
392 PreviousNonComment->Type == TT_DictLiteral)) { in addTokenOnNewLine()
415 (PreviousNonComment && PreviousNonComment->is(tok::question))) in addTokenOnNewLine()
443 if (PreviousNonComment && in addTokenOnNewLine()
444 !PreviousNonComment->isOneOf(tok::comma, tok::semi) && in addTokenOnNewLine()
445 PreviousNonComment->Type != TT_TemplateCloser && in addTokenOnNewLine()
446 PreviousNonComment->Type != TT_BinaryOperator && in addTokenOnNewLine()
447 Current.Type != TT_BinaryOperator && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
[all …]