Searched refs:FirstNonComment (Results 1 – 2 of 2) sorted by relevance
352 const FormatToken *FirstNonComment = TheLine->First; in tryFitMultipleLinesInOne() local353 if (FirstNonComment->is(tok::comment)) { in tryFitMultipleLinesInOne()354 FirstNonComment = FirstNonComment->getNextNonComment(); in tryFitMultipleLinesInOne()355 if (!FirstNonComment) in tryFitMultipleLinesInOne()400 if (TheLine->Last->is(tok::l_brace) && FirstNonComment != TheLine->Last && in tryFitMultipleLinesInOne()401 FirstNonComment->isOneOf(tok::kw_if, tok::kw_while, tok::kw_for, in tryFitMultipleLinesInOne()
4414 auto FirstNonComment = getFirstNonComment(Line); in mustBreakBefore() local4416 FirstNonComment && in mustBreakBefore()4417 FirstNonComment->isOneOf(Keywords.kw_internal, tok::kw_public, in mustBreakBefore()4426 if (AccessSpecifier && FirstNonComment->Next && in mustBreakBefore()4427 FirstNonComment->Next->is(tok::kw_enum)) { in mustBreakBefore()4434 ((AccessSpecifier && FirstNonComment->Next && in mustBreakBefore()4435 FirstNonComment->Next->is(Keywords.kw_interface)) || in mustBreakBefore()