Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DNamespaceEndCommentsFixer.cpp317 const FormatToken *EndCommentPrevTok = RBraceTok; in analyze() local
321 EndCommentPrevTok = RBraceTok->Next; in analyze()
334 if (hasEndComment(EndCommentPrevTok)) { in analyze()
336 updateEndComment(EndCommentPrevTok, std::string(), SourceMgr, &Fixes); in analyze()
350 const FormatToken *EndCommentNextTok = EndCommentPrevTok->Next; in analyze()
361 if (!hasEndComment(EndCommentPrevTok)) { in analyze()
364 addEndComment(EndCommentPrevTok, EndCommentText, SourceMgr, &Fixes); in analyze()
365 } else if (!validEndComment(EndCommentPrevTok, NamespaceName, in analyze()
367 updateEndComment(EndCommentPrevTok, EndCommentText, SourceMgr, &Fixes); in analyze()