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.cpp83 StringRef::size_type SpaceOffset = in getCommentSplit() local
85 if (SpaceOffset != StringRef::npos && SpaceOffset + 1 < Text.size() && in getCommentSplit()
86 Text[SpaceOffset + 1] == '{') { in getCommentSplit()
87 MaxSplitBytes = SpaceOffset + 1; in getCommentSplit()
91 StringRef::size_type SpaceOffset = Text.find_last_of(Blanks, MaxSplitBytes); in getCommentSplit() local
95 while (SpaceOffset != StringRef::npos) { in getCommentSplit()
103 Text.find_last_not_of(Blanks, SpaceOffset); in getCommentSplit()
105 SpaceOffset = Text.find_last_of(Blanks, LastNonBlank); in getCommentSplit()
112 if (kNumberedListRegexp.match(Text.substr(SpaceOffset).ltrim(Blanks))) { in getCommentSplit()
113 SpaceOffset = Text.find_last_of(Blanks, SpaceOffset); in getCommentSplit()
[all …]