Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.cpp79 unsigned MaxSplitBytes = 0; in getCommentSplit() local
82 NumChars < MaxSplit && MaxSplitBytes < Text.size();) { in getCommentSplit()
84 encoding::getCodePointNumBytes(Text[MaxSplitBytes], Encoding); in getCommentSplit()
86 Text.substr(MaxSplitBytes, BytesInChar), ContentStartColumn + NumChars, in getCommentSplit()
88 MaxSplitBytes += BytesInChar; in getCommentSplit()
96 Text.find_first_of(Blanks, MaxSplitBytes); in getCommentSplit()
99 MaxSplitBytes = SpaceOffset + 1; in getCommentSplit()
103 StringRef::size_type SpaceOffset = Text.find_last_of(Blanks, MaxSplitBytes); in getCommentSplit()
150 Blanks, std::max<unsigned>(MaxSplitBytes, FirstNonWhitespace)); in getCommentSplit()