Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DNamespaceEndCommentsFixer.cpp184 const FormatToken *EndCommentNextTok = EndCommentPrevTok->Next; in analyze() local
185 if (EndCommentNextTok && EndCommentNextTok->is(tok::comment)) in analyze()
186 EndCommentNextTok = EndCommentNextTok->Next; in analyze()
187 if (!EndCommentNextTok && I + 1 < E) in analyze()
188 EndCommentNextTok = AnnotatedLines[I + 1]->First; in analyze()
189 bool AddNewline = EndCommentNextTok && in analyze()
190 EndCommentNextTok->NewlinesBefore == 0 && in analyze()
191 EndCommentNextTok->isNot(tok::eof); in analyze()