Lines Matching refs:Next
733 return Current->Next->SpacesRequiredBefore == SpacesRequiredBefore; in alignConsecutiveMacros()
865 for (FormatToken *Next = C.Tok->Next; Next; Next = Next->Next) { in alignConsecutiveDeclarations() local
866 if (Next->is(tok::comment)) in alignConsecutiveDeclarations()
868 if (Next->is(TT_PointerOrReference)) in alignConsecutiveDeclarations()
870 if (!Next->Tok.getIdentifierInfo()) in alignConsecutiveDeclarations()
872 if (Next->isOneOf(TT_StartOfName, TT_FunctionDeclarationName, in alignConsecutiveDeclarations()
890 (C.Tok->is(tok::colon) && C.Tok->Next && in alignChainedConditionals()
891 (C.Tok->Next->FakeLParens.size() == 0 || in alignChainedConditionals()
892 C.Tok->Next->FakeLParens.back() != prec::Conditional))); in alignChainedConditionals()
1112 const auto *Next = CellIter; in alignArrayInitializersRightJustified() local
1114 const FormatToken *Previous = Changes[Next->Index].Tok->Previous; in alignArrayInitializersRightJustified()
1116 Changes[Next->Index].Spaces = 0; in alignArrayInitializersRightJustified()
1117 Changes[Next->Index].NewlinesBefore = 0; in alignArrayInitializersRightJustified()
1119 Next = Next->NextColumnElement; in alignArrayInitializersRightJustified()
1120 } while (Next); in alignArrayInitializersRightJustified()
1133 for (const auto *Next = CellIter->NextColumnElement; Next != nullptr; in alignArrayInitializersRightJustified() local
1134 Next = Next->NextColumnElement) { in alignArrayInitializersRightJustified()
1139 Changes[Next->Index].Spaces = (MaxNetWidth - ThisNetWidth); in alignArrayInitializersRightJustified()
1152 for (const auto *Next = CellIter->NextColumnElement; Next != nullptr; in alignArrayInitializersRightJustified() local
1153 Next = Next->NextColumnElement) { in alignArrayInitializersRightJustified()
1155 calculateCellWidth(Next->Index, Next->EndIndex, true) + NetWidth; in alignArrayInitializersRightJustified()
1156 if (Changes[Next->Index].NewlinesBefore == 0) { in alignArrayInitializersRightJustified()
1157 Changes[Next->Index].Spaces = (CellWidth - ThisWidth); in alignArrayInitializersRightJustified()
1158 Changes[Next->Index].Spaces += (i > 0) ? 1 : 0; in alignArrayInitializersRightJustified()
1160 alignToStartOfCell(Next->Index, Next->EndIndex); in alignArrayInitializersRightJustified()
1194 for (const auto *Next = CellIter->NextColumnElement; Next != nullptr; in alignArrayInitializersLeftJustified() local
1195 Next = Next->NextColumnElement) { in alignArrayInitializersLeftJustified()
1201 if (Changes[Next->Index].NewlinesBefore == 0) { in alignArrayInitializersLeftJustified()
1202 Changes[Next->Index].Spaces = in alignArrayInitializersLeftJustified()
1204 (Changes[Next->Index].Tok->isNot(tok::r_brace) ? 1 : 0); in alignArrayInitializersLeftJustified()
1214 for (const auto *Next = Cell.NextColumnElement; Next != nullptr; in isSplitCell() local
1215 Next = Next->NextColumnElement) { in isSplitCell()
1216 if (Next->HasSplit) in isSplitCell()