Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.cpp95 StringRef::size_type SpaceOffset = in getCommentSplit() local
97 if (SpaceOffset != StringRef::npos && SpaceOffset + 1 < Text.size() && in getCommentSplit()
98 Text[SpaceOffset + 1] == '{') { in getCommentSplit()
99 MaxSplitBytes = SpaceOffset + 1; in getCommentSplit()
103 StringRef::size_type SpaceOffset = Text.find_last_of(Blanks, MaxSplitBytes); in getCommentSplit() local
107 while (SpaceOffset != StringRef::npos) { in getCommentSplit()
115 Text.find_last_not_of(Blanks, SpaceOffset); in getCommentSplit()
117 SpaceOffset = Text.find_last_of(Blanks, LastNonBlank); in getCommentSplit()
124 if (kNumberedListRegexp.match(Text.substr(SpaceOffset).ltrim(Blanks))) { in getCommentSplit()
125 SpaceOffset = Text.find_last_of(Blanks, SpaceOffset); in getCommentSplit()
[all …]