Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DNamespaceEndCommentsFixer.cpp154 const FormatToken *EndCommentPrevTok = RBraceTok; in analyze() local
158 EndCommentPrevTok = RBraceTok->Next; in analyze()
169 if (hasEndComment(EndCommentPrevTok)) { in analyze()
171 updateEndComment(EndCommentPrevTok, std::string(), SourceMgr, &Fixes); in analyze()
184 const FormatToken *EndCommentNextTok = EndCommentPrevTok->Next; in analyze()
194 if (!hasEndComment(EndCommentPrevTok)) { in analyze()
197 addEndComment(EndCommentPrevTok, EndCommentText, SourceMgr, &Fixes); in analyze()
198 } else if (!validEndComment(EndCommentPrevTok, NamespaceName)) { in analyze()
199 updateEndComment(EndCommentPrevTok, EndCommentText, SourceMgr, &Fixes); in analyze()