Lines Matching refs:NextTok
455 FormatToken *NextTok; in calculateBraceTypes() local
458 NextTok = Tokens->getNextToken(); in calculateBraceTypes()
460 } while (NextTok->is(tok::comment)); in calculateBraceTypes()
490 ProbablyBracedList = NextTok->isOneOf(tok::comma, tok::r_square); in calculateBraceTypes()
494 bool NextIsObjCMethod = NextTok->isOneOf(tok::plus, tok::minus) && in calculateBraceTypes()
495 NextTok->OriginalColumn == 0; in calculateBraceTypes()
507 NextTok->isOneOf(Keywords.kw_of, Keywords.kw_in, in calculateBraceTypes()
509 (Style.isCpp() && NextTok->is(tok::l_paren)) || in calculateBraceTypes()
510 NextTok->isOneOf(tok::comma, tok::period, tok::colon, in calculateBraceTypes()
513 (NextTok->is(tok::identifier) && in calculateBraceTypes()
515 (NextTok->is(tok::semi) && in calculateBraceTypes()
517 (NextTok->isBinaryOperator() && !NextIsObjCMethod); in calculateBraceTypes()
518 if (!Style.isCSharp() && NextTok->is(tok::l_square)) { in calculateBraceTypes()
521 NextTok = Tokens->getNextToken(); in calculateBraceTypes()
523 ProbablyBracedList = NextTok->isNot(tok::l_square); in calculateBraceTypes()
555 Tok = NextTok; in calculateBraceTypes()
3083 const FormatToken *NextTok) { in distributeComments() argument
3107 if (NextTok) { in distributeComments()
3110 if (Comments[i]->OriginalColumn == NextTok->OriginalColumn) { in distributeComments()