Home | History | Annotate | Download | only in AST

Lines Matching defs:RawComment

25 std::pair<RawComment::CommentKind, bool> getCommentKind(StringRef Comment,
29 return std::make_pair(RawComment::RCK_Invalid, false);
31 RawComment::CommentKind K;
34 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false);
37 K = RawComment::RCK_BCPLSlash;
39 K = RawComment::RCK_BCPLExcl;
41 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false);
50 return std::make_pair(RawComment::RCK_Invalid, false);
53 K = RawComment::RCK_JavaDoc;
55 K = RawComment::RCK_Qt;
57 return std::make_pair(RawComment::RCK_OrdinaryC, false);
69 bool commentsStartOnSameColumn(const SourceManager &SM, const RawComment &R1,
70 const RawComment &R2) {
104 static bool isOrdinaryKind(RawComment::CommentKind K) {
105 return (K == RawComment::RCK_OrdinaryBCPL) ||
106 (K == RawComment::RCK_OrdinaryC);
109 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,
293 Comments.push_back(new (Allocator) RawComment(RC));
297 const RawComment &C1 = *Comments.back();
298 const RawComment &C2 = RC;
320 *Comments.back() = RawComment(SourceMgr, MergedRange, true,
323 Comments.push_back(new (Allocator) RawComment(RC));
327 void RawCommentList::addDeserializedComments(ArrayRef<RawComment *> DeserializedComments) {
328 std::vector<RawComment *> MergedComments;
334 BeforeThanCompare<RawComment>(SourceMgr));