Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DWhitespaceManager.cpp1332 auto *CellIter = Cells.begin(); in alignArrayInitializersRightJustified() local
1333 for (auto i = 0U; i < CellDescs.CellCounts[0]; ++i, ++CellIter) { in alignArrayInitializersRightJustified()
1335 if (isSplitCell(*CellIter)) in alignArrayInitializersRightJustified()
1336 NetWidth = getNetWidth(Cells.begin(), CellIter, CellDescs.InitialSpaces); in alignArrayInitializersRightJustified()
1337 auto CellWidth = getMaximumCellWidth(CellIter, NetWidth); in alignArrayInitializersRightJustified()
1339 if (Changes[CellIter->Index].Tok->is(tok::r_brace)) { in alignArrayInitializersRightJustified()
1343 const auto *Next = CellIter; in alignArrayInitializersRightJustified()
1354 if (CellIter != Cells.begin()) { in alignArrayInitializersRightJustified()
1356 getNetWidth(Cells.begin(), CellIter, CellDescs.InitialSpaces); in alignArrayInitializersRightJustified()
1358 Cells.begin(), CellIter, CellDescs.InitialSpaces, in alignArrayInitializersRightJustified()
[all …]
H A DWhitespaceManager.h305 unsigned getMaximumCellWidth(I CellIter, unsigned NetWidth) const { in getMaximumCellWidth() argument
307 calculateCellWidth(CellIter->Index, CellIter->EndIndex, true); in getMaximumCellWidth()
308 if (Changes[CellIter->Index].NewlinesBefore == 0) in getMaximumCellWidth()
310 for (const auto *Next = CellIter->NextColumnElement; Next; in getMaximumCellWidth()