Lines Matching defs:CellIter
1332 auto *CellIter = Cells.begin();
1333 for (auto i = 0U; i < CellDescs.CellCounts[0]; ++i, ++CellIter) {
1335 if (isSplitCell(*CellIter))
1336 NetWidth = getNetWidth(Cells.begin(), CellIter, CellDescs.InitialSpaces);
1337 auto CellWidth = getMaximumCellWidth(CellIter, NetWidth);
1339 if (Changes[CellIter->Index].Tok->is(tok::r_brace)) {
1343 const auto *Next = CellIter;
1354 if (CellIter != Cells.begin()) {
1356 getNetWidth(Cells.begin(), CellIter, CellDescs.InitialSpaces);
1358 Cells.begin(), CellIter, CellDescs.InitialSpaces,
1361 Changes[CellIter->Index].Spaces = (MaxNetWidth - ThisNetWidth);
1363 auto Offset = std::distance(Cells.begin(), CellIter);
1364 for (const auto *Next = CellIter->NextColumnElement; Next;
1378 calculateCellWidth(CellIter->Index, CellIter->EndIndex, true) +
1380 if (Changes[CellIter->Index].NewlinesBefore == 0) {
1381 Changes[CellIter->Index].Spaces = (CellWidth - (ThisWidth + NetWidth));
1382 Changes[CellIter->Index].Spaces += (i > 0) ? 1 : BracePadding;
1384 alignToStartOfCell(CellIter->Index, CellIter->EndIndex);
1385 for (const auto *Next = CellIter->NextColumnElement; Next;
1408 auto *CellIter = Cells.begin();
1410 for (const auto *Next = CellIter; Next; Next = Next->NextColumnElement) {
1415 ++CellIter;
1416 for (auto i = 1U; i < CellDescs.CellCounts[0]; i++, ++CellIter) {
1418 Cells.begin(), CellIter, CellDescs.InitialSpaces,
1421 getNetWidth(Cells.begin(), CellIter, CellDescs.InitialSpaces);
1422 if (Changes[CellIter->Index].NewlinesBefore == 0) {
1423 Changes[CellIter->Index].Spaces =
1425 (Changes[CellIter->Index].Tok->isNot(tok::r_brace) ? 1
1429 auto Offset = std::distance(Cells.begin(), CellIter);
1430 for (const auto *Next = CellIter->NextColumnElement; Next;
1604 for (auto *CellIter = Cells.begin(); CellIter != Cells.end(); ++CellIter) {
1605 if (!CellIter->NextColumnElement && (CellIter + 1) != Cells.end()) {
1606 for (auto *NextIter = CellIter + 1; NextIter != Cells.end(); ++NextIter) {
1607 if (NextIter->Cell == CellIter->Cell) {
1608 CellIter->NextColumnElement = &(*NextIter);