Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.cpp891 StringRef IndentPrefix = getLineCommentIndentPrefix(Lines[i], Style); in BreakableLineCommentSection() local
892 OriginalPrefix[i] = IndentPrefix; in BreakableLineCommentSection()
893 const int SpacesInPrefix = llvm::count(IndentPrefix, ' '); in BreakableLineCommentSection()
898 assert(Lines[i].size() > IndentPrefix.size()); in BreakableLineCommentSection()
899 const char FirstCommentChar = Lines[i][IndentPrefix.size()]; in BreakableLineCommentSection()
903 Lines[i].substr(IndentPrefix.size(), FirstCharByteSize), in BreakableLineCommentSection()
929 if (SpacesInPrefix < Minimum && Lines[i].size() > IndentPrefix.size() && in BreakableLineCommentSection()
941 if (Lines[i].size() != IndentPrefix.size()) { in BreakableLineCommentSection()
949 assert(Lines[i].size() > IndentPrefix.size()); in BreakableLineCommentSection()
950 const auto FirstNonSpace = Lines[i][IndentPrefix.size()]; in BreakableLineCommentSection()
[all …]