Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.cpp885 PrefixSpaceChange.resize(Lines.size()); in BreakableLineCommentSection()
942 PrefixSpaceChange[i] = FirstLineSpaceChange; in BreakableLineCommentSection()
944 if (SpacesInPrefix + PrefixSpaceChange[i] < Minimum) { in BreakableLineCommentSection()
945 PrefixSpaceChange[i] += in BreakableLineCommentSection()
946 Minimum - (SpacesInPrefix + PrefixSpaceChange[i]); in BreakableLineCommentSection()
959 if (PrefixSpaceChange[i] > 0 && AllowsSpaceChange) { in BreakableLineCommentSection()
961 Prefix[i].append(PrefixSpaceChange[i], ' '); in BreakableLineCommentSection()
962 } else if (PrefixSpaceChange[i] < 0 && AllowsSpaceChange) { in BreakableLineCommentSection()
965 -PrefixSpaceChange[i], SpacesInPrefix)) in BreakableLineCommentSection()
1136 const auto SpacesToRemove = -std::min(PrefixSpaceChange[LineIndex], 0); in adaptStartOfLine()
[all …]
H A DBreakableToken.h525 SmallVector<int, 16> PrefixSpaceChange; variable