Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DWhitespaceManager.h297 unsigned CellWidth = in getMaximumCellWidth() local
300 CellWidth += NetWidth; in getMaximumCellWidth()
306 CellWidth = std::max(CellWidth, ThisWidth); in getMaximumCellWidth()
308 return CellWidth; in getMaximumCellWidth()
H A DWhitespaceManager.cpp1297 auto CellWidth = getMaximumCellWidth(CellIter, NetWidth); in alignArrayInitializersRightJustified() local
1341 Changes[CellIter->Index].Spaces = (CellWidth - (ThisWidth + NetWidth)); in alignArrayInitializersRightJustified()
1350 Changes[Next->Index].Spaces = (CellWidth - ThisWidth); in alignArrayInitializersRightJustified()
1541 unsigned CellWidth = 0; in calculateCellWidth() local
1544 CellWidth = 0; in calculateCellWidth()
1545 CellWidth += Changes[i].TokenLength; in calculateCellWidth()
1546 CellWidth += (WithSpaces ? Changes[i].Spaces : 0); in calculateCellWidth()
1548 return CellWidth; in calculateCellWidth()