Lines Matching refs:comments
1 //===--- RawCommentList.cpp - Processing raw comments -----------*- C++ -*-===//
127 comments::Lexer L(Allocator, Context.getDiagnostics(),
131 comments::BriefParser P(L, Context.getCommentCommandTraits());
143 comments::FullComment *RawComment::parse(const ASTContext &Context,
149 comments::Lexer L(Context.getAllocator(), Context.getDiagnostics(),
153 comments::Sema S(Context.getAllocator(), Context.getSourceManager(),
158 comments::Parser P(L, S, Context.getAllocator(), Context.getSourceManager(),
218 // Check if the comments are not in source order.
222 // If they are, just pop a few last comments that don't fit.
223 // This happens if an \#include directive contains comments.
227 // Ordinary comments are not interesting for us.
241 // Merge comments only if there is only whitespace between them.
242 // Can't merge trailing and non-trailing comments.
243 // Merge comments if they are on same or consecutive lines.