Lines Matching refs:RawComment

25 std::pair<RawComment::CommentKind, bool> getCommentKind(StringRef Comment,  in getCommentKind()
29 return std::make_pair(RawComment::RCK_Invalid, false); in getCommentKind()
31 RawComment::CommentKind K; in getCommentKind()
34 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false); in getCommentKind()
37 K = RawComment::RCK_BCPLSlash; in getCommentKind()
39 K = RawComment::RCK_BCPLExcl; in getCommentKind()
41 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false); in getCommentKind()
50 return std::make_pair(RawComment::RCK_Invalid, false); in getCommentKind()
53 K = RawComment::RCK_JavaDoc; in getCommentKind()
55 K = RawComment::RCK_Qt; in getCommentKind()
57 return std::make_pair(RawComment::RCK_OrdinaryC, false); in getCommentKind()
69 bool commentsStartOnSameColumn(const SourceManager &SM, const RawComment &R1, in commentsStartOnSameColumn()
70 const RawComment &R2) { in commentsStartOnSameColumn()
104 static bool isOrdinaryKind(RawComment::CommentKind K) { in isOrdinaryKind()
105 return (K == RawComment::RCK_OrdinaryBCPL) || in isOrdinaryKind()
106 (K == RawComment::RCK_OrdinaryC); in isOrdinaryKind()
109 RawComment::RawComment(const SourceManager &SourceMgr, SourceRange SR, in RawComment() function in RawComment
151 StringRef RawComment::getRawTextSlow(const SourceManager &SourceMgr) const { in getRawTextSlow()
177 const char *RawComment::extractBriefText(const ASTContext &Context) const { in extractBriefText()
202 comments::FullComment *RawComment::parse(const ASTContext &Context, in parse()
272 void RawCommentList::addComment(const RawComment &RC, in addComment()
293 Comments.push_back(new (Allocator) RawComment(RC)); in addComment()
297 const RawComment &C1 = *Comments.back(); in addComment()
298 const RawComment &C2 = RC; in addComment()
320 *Comments.back() = RawComment(SourceMgr, MergedRange, true, in addComment()
323 Comments.push_back(new (Allocator) RawComment(RC)); in addComment()
327 void RawCommentList::addDeserializedComments(ArrayRef<RawComment *> DeserializedComments) { in addDeserializedComments()
328 std::vector<RawComment *> MergedComments; in addDeserializedComments()
334 BeforeThanCompare<RawComment>(SourceMgr)); in addDeserializedComments()