Lines Matching refs:isOneOf
103 (RootToken.isOneOf(Keywords.kw_signals, Keywords.kw_qsignals) && in getIndentOffset()
246 if (Tok && Tok->isOneOf(tok::kw_class, tok::kw_struct, tok::kw_union, in tryFitMultipleLinesInOne()
304 TheLine->First->isOneOf(tok::kw_if, tok::kw_while, tok::kw_for)) { in tryFitMultipleLinesInOne()
311 (TheLine->First->isOneOf(tok::kw_if, tok::kw_while, tok::kw_for, in tryFitMultipleLinesInOne()
315 TheLine->First->Next->isOneOf(tok::kw_else, tok::kw_catch))) && in tryFitMultipleLinesInOne()
326 TheLine->First->isOneOf(tok::kw_if, tok::kw_while, in tryFitMultipleLinesInOne()
333 TheLine->First->isOneOf(tok::kw_else, tok::kw_catch) && in tryFitMultipleLinesInOne()
356 I[-1]->First->isOneOf(tok::kw_case, tok::kw_default)) in tryFitMultipleLinesInOne()
395 if (TheLine->First->isOneOf(tok::kw_for, tok::kw_while, tok::kw_do)) { in tryFitMultipleLinesInOne()
400 if (TheLine->First->isOneOf(tok::kw_case, tok::kw_default)) { in tryFitMultipleLinesInOne()
447 if (I[1]->First->isOneOf(tok::semi, tok::kw_if, tok::kw_for, tok::kw_while, in tryMergeSimpleControlStatement()
464 I[1]->First->isOneOf(tok::kw_case, tok::kw_default)) in tryMergeShortCaseLabels()
479 if (Line->First->isOneOf(tok::kw_case, tok::kw_default, tok::r_brace)) in tryMergeShortCaseLabels()
481 if (Line->First->isOneOf(tok::kw_if, tok::kw_for, tok::kw_switch, in tryMergeShortCaseLabels()
493 if (Line->First->isOneOf(tok::kw_case, tok::kw_default, tok::r_brace)) in tryMergeShortCaseLabels()
519 Line.First->isOneOf(tok::at, tok::minus, tok::plus)) in tryMergeSimpleBlock()
524 if (Line.First->isOneOf(tok::kw_else, tok::kw_case) || in tryMergeSimpleBlock()
533 if (Line.First->isOneOf(tok::kw_if, tok::kw_while, tok::kw_do, tok::kw_try, in tryMergeSimpleBlock()
552 Line.First->isOneOf(tok::kw_while, tok::kw_do, tok::kw_for) && in tryMergeSimpleBlock()
557 Line.First->isOneOf(tok::kw_while, tok::kw_do, tok::kw_for) && in tryMergeSimpleBlock()
567 if (Line.First->isOneOf(tok::kw_try, tok::kw___try, tok::kw_catch, in tryMergeSimpleBlock()
587 RecordTok->isOneOf( in tryMergeSimpleBlock()
593 RecordTok->isOneOf(tok::kw_class, tok::kw_union, tok::kw_struct, in tryMergeSimpleBlock()
1220 if (PreviousLine && PreviousLine->Last->isOneOf(tok::semi, tok::r_brace) && in formatFirstToken()
1234 if (RootToken.isOneOf(tok::l_brace, tok::r_brace, tok::kw_case, in formatFirstToken()