Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DWhitespaceManager.h200 unsigned InitialSpaces = 0; member
277 auto getNetWidth(const I &Start, const I &End, unsigned InitialSpaces) const { in getNetWidth() argument
278 auto NetWidth = InitialSpaces; in getNetWidth()
310 unsigned InitialSpaces, unsigned CellCount, in getMaximumNetWidth() argument
312 auto MaxNetWidth = getNetWidth(CellStart, CellStop, InitialSpaces); in getMaximumNetWidth()
322 std::max(MaxNetWidth, getNetWidth(Start, End, InitialSpaces)); in getMaximumNetWidth()
H A DWhitespaceManager.cpp1127 Cells.begin(), CellIter, CellDescs.InitialSpaces, in alignArrayInitializersRightJustified()
1179 Changes[CellIter->Index].Spaces = CellDescs.InitialSpaces; in alignArrayInitializersLeftJustified()
1183 Cells.begin(), CellIter, CellDescs.InitialSpaces, in alignArrayInitializersLeftJustified()
1186 getNetWidth(Cells.begin(), CellIter, CellDescs.InitialSpaces); in alignArrayInitializersLeftJustified()
1228 unsigned InitialSpaces = 0; in getCells() local
1243 if (InitialSpaces == 0) { in getCells()
1244 InitialSpaces = C.Spaces + C.TokenLength; in getCells()
1248 InitialSpaces += Changes[j].Spaces + Changes[j].TokenLength; in getCells()
1280 Changes[j].Spaces = InitialSpaces - InitialTokenLength; in getCells()
1328 Changes[i].Spaces = InitialSpaces; in getCells()
[all …]