Lines Matching refs:RawComment

24 std::pair<RawComment::CommentKind, bool> getCommentKind(StringRef Comment,  in getCommentKind()
28 return std::make_pair(RawComment::RCK_Invalid, false); in getCommentKind()
30 RawComment::CommentKind K; in getCommentKind()
33 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false); in getCommentKind()
36 K = RawComment::RCK_BCPLSlash; in getCommentKind()
38 K = RawComment::RCK_BCPLExcl; in getCommentKind()
40 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false); in getCommentKind()
49 return std::make_pair(RawComment::RCK_Invalid, false); in getCommentKind()
52 K = RawComment::RCK_JavaDoc; in getCommentKind()
54 K = RawComment::RCK_Qt; in getCommentKind()
56 return std::make_pair(RawComment::RCK_OrdinaryC, false); in getCommentKind()
68 bool commentsStartOnSameColumn(const SourceManager &SM, const RawComment &R1, in commentsStartOnSameColumn()
69 const RawComment &R2) { in commentsStartOnSameColumn()
103 static bool isOrdinaryKind(RawComment::CommentKind K) { in isOrdinaryKind()
104 return (K == RawComment::RCK_OrdinaryBCPL) || in isOrdinaryKind()
105 (K == RawComment::RCK_OrdinaryC); in isOrdinaryKind()
108 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()
291 OC[CommentOffset] = new (Allocator) RawComment(RC); in addComment()
295 const RawComment &C1 = *OC.rbegin()->second; in addComment()
296 const RawComment &C2 = RC; in addComment()
319 RawComment(SourceMgr, MergedRange, CommentOpts, true); in addComment()
322 new (Allocator) RawComment(RC); in addComment()
326 const std::map<unsigned, RawComment *> *
337 unsigned RawCommentList::getCommentBeginLine(RawComment *C, FileID File, in getCommentBeginLine()
347 unsigned RawCommentList::getCommentEndOffset(RawComment *C) const { in getCommentEndOffset()
357 std::string RawComment::getFormattedText(const SourceManager &SourceMgr, in getFormattedText()
364 for (const RawComment::CommentLine &Line : in getFormattedText()
374 std::vector<RawComment::CommentLine>
375 RawComment::getFormattedLines(const SourceManager &SourceMgr, in getFormattedLines()
390 std::vector<RawComment::CommentLine> Result; in getFormattedLines()