Searched refs:FirstNonComment (Results 1 – 2 of 2) sorted by relevance
345 const auto *FirstNonComment = TheLine->getFirstNonComment(); in tryFitMultipleLinesInOne() local346 if (!FirstNonComment) in tryFitMultipleLinesInOne()417 if (TheLine->Last->is(tok::l_brace) && FirstNonComment != TheLine->Last && in tryFitMultipleLinesInOne()418 (FirstNonComment->isOneOf(tok::kw_if, tok::kw_while, tok::kw_for, in tryFitMultipleLinesInOne()
3968 const auto *FirstNonComment = Line.getFirstNonComment(); in calculateFormattingInformation() local3974 for (auto *Tok = FirstNonComment && FirstNonComment->isNot(tok::kw_using) in calculateFormattingInformation()3975 ? FirstNonComment->Next in calculateFormattingInformation()4001 (FirstNonComment && FirstNonComment->is(TT_CtorDtorDeclName))) && in calculateFormattingInformation()4023 for (const auto *Tok = FirstNonComment; Tok; Tok = Tok->Next) { in calculateFormattingInformation()5911 auto *FirstNonComment = Line.getFirstNonComment(); in mustBreakBefore() local5913 FirstNonComment && (FirstNonComment->is(Keywords.kw_internal) || in mustBreakBefore()5914 FirstNonComment->isAccessSpecifierKeyword()); in mustBreakBefore()5922 if (AccessSpecifier && FirstNonComment->Next && in mustBreakBefore()5923 FirstNonComment->Next->is(tok::kw_enum)) { in mustBreakBefore()[all …]