Lines Matching refs:FormatToken
31 std::string computeName(const FormatToken *NamespaceTok) { in computeName()
36 const FormatToken *Tok = NamespaceTok->getNextNonComment(); in computeName()
51 const FormatToken *FirstNSTok = Tok; in computeName()
69 const FormatToken *NamespaceTok) { in computeEndCommentText()
84 bool hasEndComment(const FormatToken *RBraceTok) { in hasEndComment()
88 bool validEndComment(const FormatToken *RBraceTok, StringRef NamespaceName, in validEndComment()
89 const FormatToken *NamespaceTok) { in validEndComment()
91 const FormatToken *Comment = RBraceTok->Next; in validEndComment()
145 void addEndComment(const FormatToken *RBraceTok, StringRef EndCommentText, in addEndComment()
157 void updateEndComment(const FormatToken *RBraceTok, StringRef EndCommentText, in updateEndComment()
161 const FormatToken *Comment = RBraceTok->Next; in updateEndComment()
172 const FormatToken *
181 const FormatToken *NamespaceTok = AnnotatedLines[StartLineIndex]->First; in getNamespaceToken()
194 const FormatToken *NamespaceTok = getNamespaceToken(Line, AnnotatedLines); in getNamespaceTokenText()
212 FormatToken *Tok = AnnotatedLines[I]->First; in analyze()
231 const FormatToken *NamespaceTok = in analyze()
235 FormatToken *RBraceTok = EndLine->First; in analyze()
239 const FormatToken *EndCommentPrevTok = RBraceTok; in analyze()
272 const FormatToken *EndCommentNextTok = EndCommentPrevTok->Next; in analyze()