Searched refs:CellIter (Results 1 – 2 of 2) sorted by relevance
| /openbsd-src/gnu/llvm/clang/lib/Format/ |
| H A D | WhitespaceManager.cpp | 1138 auto *CellIter = Cells.begin(); in alignArrayInitializersRightJustified() local 1139 for (auto i = 0U; i < CellDescs.CellCounts[0]; ++i, ++CellIter) { in alignArrayInitializersRightJustified() 1141 if (isSplitCell(*CellIter)) in alignArrayInitializersRightJustified() 1142 NetWidth = getNetWidth(Cells.begin(), CellIter, CellDescs.InitialSpaces); in alignArrayInitializersRightJustified() 1143 auto CellWidth = getMaximumCellWidth(CellIter, NetWidth); in alignArrayInitializersRightJustified() 1145 if (Changes[CellIter->Index].Tok->is(tok::r_brace)) { in alignArrayInitializersRightJustified() 1149 const auto *Next = CellIter; in alignArrayInitializersRightJustified() 1160 if (CellIter != Cells.begin()) { in alignArrayInitializersRightJustified() 1162 getNetWidth(Cells.begin(), CellIter, CellDescs.InitialSpaces); in alignArrayInitializersRightJustified() 1164 Cells.begin(), CellIter, CellDescs.InitialSpaces, in alignArrayInitializersRightJustified() [all …]
|
| H A D | WhitespaceManager.h | 292 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()
|