Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.cpp893 const int SpacesInPrefix = llvm::count(IndentPrefix, ' '); in BreakableLineCommentSection() local
929 if (SpacesInPrefix < Minimum && Lines[i].size() > IndentPrefix.size() && in BreakableLineCommentSection()
931 FirstLineSpaceChange = Minimum - SpacesInPrefix; in BreakableLineCommentSection()
932 } else if (static_cast<unsigned>(SpacesInPrefix) > in BreakableLineCommentSection()
935 Style.SpacesInLineCommentPrefix.Maximum - SpacesInPrefix; in BreakableLineCommentSection()
944 if (SpacesInPrefix + PrefixSpaceChange[i] < Minimum) { in BreakableLineCommentSection()
946 Minimum - (SpacesInPrefix + PrefixSpaceChange[i]); in BreakableLineCommentSection()
957 (SpacesInPrefix != 0 || LineRequiresLeadingSpace); in BreakableLineCommentSection()
965 -PrefixSpaceChange[i], SpacesInPrefix)) in BreakableLineCommentSection()
973 Prefix[i] = IndentPrefix.drop_back(SpacesInPrefix).str(); in BreakableLineCommentSection()