Searched refs:PreviousNonComment (Results 1 – 1 of 1) sorted by relevance
390 const FormatToken *PreviousNonComment = Current.getPreviousNonComment(); in addTokenOnNewLine() local428 } else if (PreviousNonComment && PreviousNonComment->is(tok::colon) && in addTokenOnNewLine()429 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral)) { in addTokenOnNewLine()453 (PreviousNonComment && PreviousNonComment->is(tok::question))) in addTokenOnNewLine()480 if (PreviousNonComment && in addTokenOnNewLine()481 !PreviousNonComment->isOneOf(tok::comma, tok::semi) && in addTokenOnNewLine()482 (PreviousNonComment->isNot(TT_TemplateCloser) || in addTokenOnNewLine()484 !PreviousNonComment->isOneOf(TT_BinaryOperator, TT_JavaAnnotation, in addTokenOnNewLine()486 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()491 if (PreviousNonComment && in addTokenOnNewLine()[all …]