Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DNamespaceEndCommentsFixer.cpp350 const FormatToken *EndCommentNextTok = EndCommentPrevTok->Next; in analyze() local
351 if (EndCommentNextTok && EndCommentNextTok->is(tok::comment)) in analyze()
352 EndCommentNextTok = EndCommentNextTok->Next; in analyze()
353 if (!EndCommentNextTok && I + 1 < E) in analyze()
354 EndCommentNextTok = AnnotatedLines[I + 1]->First; in analyze()
355 bool AddNewline = EndCommentNextTok && in analyze()
356 EndCommentNextTok->NewlinesBefore == 0 && in analyze()
357 EndCommentNextTok->isNot(tok::eof); in analyze()