Lines Matching defs:RawComment
24 std::pair<RawComment::CommentKind, bool> getCommentKind(StringRef Comment,
28 return std::make_pair(RawComment::RCK_Invalid, false);
30 RawComment::CommentKind K;
33 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false);
36 K = RawComment::RCK_BCPLSlash;
38 K = RawComment::RCK_BCPLExcl;
40 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false);
49 return std::make_pair(RawComment::RCK_Invalid, false);
52 K = RawComment::RCK_JavaDoc;
54 K = RawComment::RCK_Qt;
56 return std::make_pair(RawComment::RCK_OrdinaryC, false);
68 bool commentsStartOnSameColumn(const SourceManager &SM, const RawComment &R1,
69 const RawComment &R2) {
103 static bool isOrdinaryKind(RawComment::CommentKind K) {
104 return (K == RawComment::RCK_OrdinaryBCPL) ||
105 (K == RawComment::RCK_OrdinaryC);
108 RawComment::RawComment(const SourceManager &SourceMgr, SourceRange SR,
151 StringRef RawComment::getRawTextSlow(const SourceManager &SourceMgr) const {
177 const char *RawComment::extractBriefText(const ASTContext &Context) const {
202 comments::FullComment *RawComment::parse(const ASTContext &Context,
272 void RawCommentList::addComment(const RawComment &RC,
292 new (Allocator) RawComment(RC);
296 const RawComment &C1 = *OrderedComments[CommentFile].rbegin()->second;
297 const RawComment &C2 = RC;
320 RawComment(SourceMgr, MergedRange, CommentOpts, true);
323 new (Allocator) RawComment(RC);
327 const std::map<unsigned, RawComment *> *
338 unsigned RawCommentList::getCommentBeginLine(RawComment *C, FileID File,
348 unsigned RawCommentList::getCommentEndOffset(RawComment *C) const {
358 std::string RawComment::getFormattedText(const SourceManager &SourceMgr,
365 for (const RawComment::CommentLine &Line :
375 std::vector<RawComment::CommentLine>
376 RawComment::getFormattedLines(const SourceManager &SourceMgr,
391 std::vector<RawComment::CommentLine> Result;