Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DWhitespaceManager.h306 unsigned CellWidth = in getMaximumCellWidth() local
309 CellWidth += NetWidth; in getMaximumCellWidth()
315 CellWidth = std::max(CellWidth, ThisWidth); in getMaximumCellWidth()
317 return CellWidth; in getMaximumCellWidth()
H A DWhitespaceManager.cpp1337 auto CellWidth = getMaximumCellWidth(CellIter, NetWidth); in alignArrayInitializersRightJustified() local
1381 Changes[CellIter->Index].Spaces = (CellWidth - (ThisWidth + NetWidth)); in alignArrayInitializersRightJustified()
1390 Changes[Next->Index].Spaces = (CellWidth - ThisWidth); in alignArrayInitializersRightJustified()
1581 unsigned CellWidth = 0; in calculateCellWidth() local
1584 CellWidth = 0; in calculateCellWidth()
1585 CellWidth += Changes[i].TokenLength; in calculateCellWidth()
1586 CellWidth += (WithSpaces ? Changes[i].Spaces : 0); in calculateCellWidth()
1588 return CellWidth; in calculateCellWidth()