Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Format/
H A DBreakableToken.cpp781 const int SpacesInPrefix = llvm::count(IndentPrefix, ' '); in BreakableLineCommentSection() local
817 if (SpacesInPrefix < Minimum && Lines[i].size() > IndentPrefix.size() && in BreakableLineCommentSection()
819 FirstLineSpaceChange = Minimum - SpacesInPrefix; in BreakableLineCommentSection()
820 } else if (static_cast<unsigned>(SpacesInPrefix) > in BreakableLineCommentSection()
823 Style.SpacesInLineCommentPrefix.Maximum - SpacesInPrefix; in BreakableLineCommentSection()
832 if (SpacesInPrefix + PrefixSpaceChange[i] < Minimum) { in BreakableLineCommentSection()
834 Minimum - (SpacesInPrefix + PrefixSpaceChange[i]); in BreakableLineCommentSection()
845 (SpacesInPrefix != 0 || LineRequiresLeadingSpace); in BreakableLineCommentSection()
853 -PrefixSpaceChange[i], SpacesInPrefix)) in BreakableLineCommentSection()
861 Prefix[i] = IndentPrefix.drop_back(SpacesInPrefix).str(); in BreakableLineCommentSection()