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.cpp67 unsigned MaxSplitBytes = 0; in getCommentSplit() local
70 NumChars < MaxSplit && MaxSplitBytes < Text.size();) { in getCommentSplit()
72 encoding::getCodePointNumBytes(Text[MaxSplitBytes], Encoding); in getCommentSplit()
74 Text.substr(MaxSplitBytes, BytesInChar), ContentStartColumn + NumChars, in getCommentSplit()
76 MaxSplitBytes += BytesInChar; in getCommentSplit()
84 Text.find_first_of(Blanks, MaxSplitBytes); in getCommentSplit()
87 MaxSplitBytes = SpaceOffset + 1; in getCommentSplit()
91 StringRef::size_type SpaceOffset = Text.find_last_of(Blanks, MaxSplitBytes); in getCommentSplit()
138 Blanks, std::max<unsigned>(MaxSplitBytes, FirstNonWhitespace)); in getCommentSplit()