Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DWhitespaceManager.h293 unsigned CellWidth = in getMaximumCellWidth() local
296 CellWidth += NetWidth; in getMaximumCellWidth()
302 CellWidth = std::max(CellWidth, ThisWidth); in getMaximumCellWidth()
304 return CellWidth; in getMaximumCellWidth()
H A DWhitespaceManager.cpp1106 auto CellWidth = getMaximumCellWidth(CellIter, NetWidth); in alignArrayInitializersRightJustified() local
1148 Changes[CellIter->Index].Spaces = (CellWidth - (ThisWidth + NetWidth)); in alignArrayInitializersRightJustified()
1157 Changes[Next->Index].Spaces = (CellWidth - ThisWidth); in alignArrayInitializersRightJustified()
1343 unsigned CellWidth = 0; in calculateCellWidth() local
1346 CellWidth = 0; in calculateCellWidth()
1347 CellWidth += Changes[i].TokenLength; in calculateCellWidth()
1348 CellWidth += (WithSpaces ? Changes[i].Spaces : 0); in calculateCellWidth()
1350 return CellWidth; in calculateCellWidth()