Lines Matching refs:BreakableToken
1 //===--- BreakableToken.cpp - Format C++ code -----------------------------===//
11 /// \brief Contains implementation of BreakableToken class and classes derived
18 #include "BreakableToken.h"
41 static BreakableToken::Split getCommentSplit(StringRef Text,
46 return BreakableToken::Split(StringRef::npos, 0);
65 return BreakableToken::Split(StringRef::npos, 0);
72 return BreakableToken::Split(BeforeCut.size(),
75 return BreakableToken::Split(StringRef::npos, 0);
78 static BreakableToken::Split getStringSplit(StringRef Text,
84 return BreakableToken::Split(StringRef::npos, 0);
86 return BreakableToken::Split(StringRef::npos, 0);
119 return BreakableToken::Split(SpaceOffset + 1, 0);
121 return BreakableToken::Split(SlashOffset + 1, 0);
123 return BreakableToken::Split(WordStartOffset + 1, 0);
125 return BreakableToken::Split(SplitPoint, 0);
126 return BreakableToken::Split(StringRef::npos, 0);
140 : BreakableToken(Tok, InPPDirective, Encoding), StartColumn(StartColumn),
154 BreakableToken::Split
194 BreakableToken::Split
222 : BreakableToken(Token, InPPDirective, Encoding) {
338 BreakableToken::Split