Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DTokenAnnotator.cpp81 CurrentToken->Previous->is(TT_BinaryOperator) && in parseAngle()
117 Left->Previous->is(TT_BinaryOperator))) { in parseParens()
167 Prev->Type = TT_BinaryOperator; in parseParens()
177 if (CurrentToken->Previous->is(TT_BinaryOperator)) in parseParens()
286 Parent->Type = TT_BinaryOperator; in parseSquare()
499 Tok->Type = TT_BinaryOperator; in consumeToken()
513 Tok->Type = TT_BinaryOperator; in consumeToken()
521 if (CurrentToken && CurrentToken->Previous->is(TT_BinaryOperator)) in consumeToken()
526 if (CurrentToken->Previous->is(TT_BinaryOperator)) in consumeToken()
784 if (Previous->isOneOf(TT_BinaryOperator, TT_UnaryOperator) && in modifyContext()
[all …]
DContinuationIndenter.cpp185 Previous.Previous->isNot(TT_BinaryOperator); // For >>. in mustBreak()
188 if (Previous.is(TT_BinaryOperator) && (!IsComparison || LHSIsBinaryExpr) && in mustBreak()
189 Current.isNot(TT_BinaryOperator) && // For >>. in mustBreak()
195 if (Current.is(TT_BinaryOperator) && Previous.EndsBinaryExpression && in mustBreak()
351 } else if ((Previous.isOneOf(TT_BinaryOperator, TT_ConditionalExpr, in addTokenOnCurrentLine()
447 Previous.is(TT_BinaryOperator)) in addTokenOnNewLine()
484 !PreviousNonComment->isOneOf(TT_BinaryOperator, TT_JavaAnnotation, in addTokenOnNewLine()
486 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
499 if (!Previous.isOneOf(tok::l_paren, tok::l_brace, TT_BinaryOperator) || in addTokenOnNewLine()
621 if ((Current.is(TT_BinaryOperator) && Current.isNot(tok::lessless)) || in moveStateToNextToken()
[all …]
DFormatToken.h32 TT_BinaryOperator, enumerator