Searched refs:FirstNonComment (Results 1 – 2 of 2) sorted by relevance
359 const FormatToken *FirstNonComment = TheLine->First; in tryFitMultipleLinesInOne() local360 if (FirstNonComment->is(tok::comment)) { in tryFitMultipleLinesInOne()361 FirstNonComment = FirstNonComment->getNextNonComment(); in tryFitMultipleLinesInOne()362 if (!FirstNonComment) in tryFitMultipleLinesInOne()407 if (TheLine->Last->is(tok::l_brace) && FirstNonComment != TheLine->Last && in tryFitMultipleLinesInOne()408 FirstNonComment->isOneOf(tok::kw_if, tok::kw_while, tok::kw_for, in tryFitMultipleLinesInOne()
4599 auto FirstNonComment = getFirstNonComment(Line); in mustBreakBefore() local4601 FirstNonComment && in mustBreakBefore()4602 FirstNonComment->isOneOf(Keywords.kw_internal, tok::kw_public, in mustBreakBefore()4611 if (AccessSpecifier && FirstNonComment->Next && in mustBreakBefore()4612 FirstNonComment->Next->is(tok::kw_enum)) { in mustBreakBefore()4619 ((AccessSpecifier && FirstNonComment->Next && in mustBreakBefore()4620 FirstNonComment->Next->is(Keywords.kw_interface)) || in mustBreakBefore()