Lines Matching refs:isOneOf
103 Previous.Previous->isOneOf(tok::l_brace, tok::l_paren, tok::comma)) in canBreak()
144 !Current.isOneOf(tok::r_paren, tok::r_brace)) in mustBreak()
148 !Previous.isOneOf(tok::kw_return, tok::lessless, tok::at) && in mustBreak()
222 Previous.is(tok::l_brace) && !Current.isOneOf(tok::r_brace, tok::comment)) in mustBreak()
305 Previous.Previous && Previous.Previous->isOneOf(tok::kw_if, tok::kw_for)) in addTokenOnCurrentLine()
309 else if (!Current.isOneOf(tok::comment, tok::caret) && in addTokenOnCurrentLine()
408 if ((Previous.isOneOf(tok::comma, tok::semi) && in addTokenOnNewLine()
444 !PreviousNonComment->isOneOf(tok::comma, tok::semi) && in addTokenOnNewLine()
461 if (!(Previous.isOneOf(tok::l_paren, tok::l_brace) || in addTokenOnNewLine()
488 if (Current.isOneOf(tok::r_brace, tok::r_square)) { in getNewLineColumn()
551 Previous.isOneOf(tok::coloncolon, tok::equal)) { in getNewLineColumn()
651 } else if (!Current.isOneOf(tok::comment, tok::identifier, tok::hash) && in moveStateToNextToken()
783 if (Tok.isOneOf(tok::r_brace, tok::r_square)) in fakeRParenSpecialCase()
786 Left->isOneOf(tok::l_brace, tok::l_square) && in fakeRParenSpecialCase()
870 (Current.isOneOf(tok::r_paren, tok::r_square) || in moveStatePastScopeCloser()