Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DWhitespaceManager.h200 unsigned InitialSpaces = 0; member
280 auto getNetWidth(const I &Start, const I &End, unsigned InitialSpaces) const { in getNetWidth() argument
281 auto NetWidth = InitialSpaces; in getNetWidth()
314 unsigned InitialSpaces, unsigned CellCount, in getMaximumNetWidth() argument
316 auto MaxNetWidth = getNetWidth(CellStart, CellStop, InitialSpaces); in getMaximumNetWidth()
326 std::max(MaxNetWidth, getNetWidth(Start, End, InitialSpaces)); in getMaximumNetWidth()
H A DWhitespaceManager.cpp1318 Cells.begin(), CellIter, CellDescs.InitialSpaces, in alignArrayInitializersRightJustified()
1378 Cells.begin(), CellIter, CellDescs.InitialSpaces, in alignArrayInitializersLeftJustified()
1381 getNetWidth(Cells.begin(), CellIter, CellDescs.InitialSpaces); in alignArrayInitializersLeftJustified()
1424 unsigned InitialSpaces = 0; in getCells() local
1439 if (InitialSpaces == 0) { in getCells()
1440 InitialSpaces = C.Spaces + C.TokenLength; in getCells()
1444 InitialSpaces += Changes[j].Spaces + Changes[j].TokenLength; in getCells()
1448 InitialSpaces += Changes[j].Spaces + Changes[j].TokenLength; in getCells()
1478 Changes[j].Spaces = InitialSpaces - InitialTokenLength; in getCells()
1526 Changes[i].Spaces = InitialSpaces; in getCells()
[all …]