Lines Matching refs:FormatToken
27 std::string computeName(const FormatToken *NamespaceTok) { in computeName()
32 const FormatToken *Tok = NamespaceTok->getNextNonComment(); in computeName()
47 const FormatToken *FirstNSTok = Tok; in computeName()
65 const FormatToken *NamespaceTok, in computeEndCommentText()
82 bool hasEndComment(const FormatToken *RBraceTok) { in hasEndComment()
86 bool validEndComment(const FormatToken *RBraceTok, StringRef NamespaceName, in validEndComment()
87 const FormatToken *NamespaceTok) { in validEndComment()
89 const FormatToken *Comment = RBraceTok->Next; in validEndComment()
143 void addEndComment(const FormatToken *RBraceTok, StringRef EndCommentText, in addEndComment()
155 void updateEndComment(const FormatToken *RBraceTok, StringRef EndCommentText, in updateEndComment()
159 const FormatToken *Comment = RBraceTok->Next; in updateEndComment()
170 const FormatToken *
179 const FormatToken *NamespaceTok = AnnotatedLines[StartLineIndex]->First; in getNamespaceToken()
192 const FormatToken *NamespaceTok = getNamespaceToken(Line, AnnotatedLines); in getNamespaceTokenText()
210 FormatToken *Tok = AnnotatedLines[I]->First; in analyze()
229 const FormatToken *NamespaceTok = in analyze()
233 FormatToken *RBraceTok = EndLine->First; in analyze()
237 const FormatToken *EndCommentPrevTok = RBraceTok; in analyze()
270 const FormatToken *EndCommentNextTok = EndCommentPrevTok->Next; in analyze()