Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DWhitespaceManager.h197 unsigned InitialSpaces = 0; member
262 auto getNetWidth(const I &Start, const I &End, unsigned InitialSpaces) const { in getNetWidth() argument
263 auto NetWidth = InitialSpaces; in getNetWidth()
295 unsigned InitialSpaces, in getMaximumNetWidth() argument
297 auto MaxNetWidth = getNetWidth(CellStart, CellStop, InitialSpaces); in getMaximumNetWidth()
305 std::max(MaxNetWidth, getNetWidth(Start, End, InitialSpaces)); in getMaximumNetWidth()
H A DWhitespaceManager.cpp1021 getNetWidth(Cells.begin(), CellIter, CellDescs.InitialSpaces); in alignArrayInitializersRightJustified()
1072 Changes[CellIter->Index].Spaces = CellDescs.InitialSpaces; in alignArrayInitializersLeftJustified()
1078 getNetWidth(Cells.begin(), CellIter, CellDescs.InitialSpaces); in alignArrayInitializersLeftJustified()
1118 unsigned InitialSpaces = 0; in getCells() local
1133 if (InitialSpaces == 0) { in getCells()
1134 InitialSpaces = C.Spaces + C.TokenLength; in getCells()
1138 InitialSpaces += Changes[j].Spaces + Changes[j].TokenLength; in getCells()
1142 InitialSpaces += Changes[j].Spaces + Changes[j].TokenLength; in getCells()
1168 Changes[j].Spaces = InitialSpaces - InitialTokenLength; in getCells()
1205 Changes[i].Spaces = InitialSpaces; in getCells()
[all …]