Home
last modified time | relevance | path

Searched refs:CellIter (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/lib/Format/
H A DWhitespaceManager.cpp1101 auto *CellIter = Cells.begin(); in alignArrayInitializersRightJustified() local
1104 if (isSplitCell(*CellIter)) in alignArrayInitializersRightJustified()
1112 const auto *Next = CellIter; in alignArrayInitializersRightJustified()
1123 if (CellIter != Cells.begin()) { in alignArrayInitializersRightJustified()
1145 calculateCellWidth(CellIter->Index, CellIter->EndIndex, true) + in alignArrayInitializersRightJustified()
1151 alignToStartOfCell(CellIter->Index, CellIter->EndIndex); in alignArrayInitializersRightJustified()
1174 auto *CellIter = Cells.begin(); in alignArrayInitializersLeftJustified() local
1177 Changes[CellIter->Index].Spaces = 0; in alignArrayInitializersLeftJustified()
1180 ++CellIter; in alignArrayInitializersLeftJustified()
1188 Changes[CellIter->Index].Spaces = in alignArrayInitializersLeftJustified()
[all …]
H A DWhitespaceManager.h292 unsigned getMaximumCellWidth(I CellIter, unsigned NetWidth) const { in getMaximumCellWidth() argument
294 calculateCellWidth(CellIter->Index, CellIter->EndIndex, true); in getMaximumCellWidth()
295 if (Changes[CellIter->Index].NewlinesBefore == 0) in getMaximumCellWidth()
297 for (const auto *Next = CellIter->NextColumnElement; Next != nullptr; in getMaximumCellWidth()