Lines Matching refs:RawComment

26 std::pair<RawComment::CommentKind, bool> getCommentKind(StringRef Comment,  in getCommentKind()
30 return std::make_pair(RawComment::RCK_Invalid, false); in getCommentKind()
32 RawComment::CommentKind K; in getCommentKind()
35 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false); in getCommentKind()
38 K = RawComment::RCK_BCPLSlash; in getCommentKind()
40 K = RawComment::RCK_BCPLExcl; in getCommentKind()
42 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false); in getCommentKind()
51 return std::make_pair(RawComment::RCK_Invalid, false); in getCommentKind()
54 K = RawComment::RCK_JavaDoc; in getCommentKind()
56 K = RawComment::RCK_Qt; in getCommentKind()
58 return std::make_pair(RawComment::RCK_OrdinaryC, false); in getCommentKind()
70 bool commentsStartOnSameColumn(const SourceManager &SM, const RawComment &R1, in commentsStartOnSameColumn()
71 const RawComment &R2) { in commentsStartOnSameColumn()
105 static bool isOrdinaryKind(RawComment::CommentKind K) { in isOrdinaryKind()
106 return (K == RawComment::RCK_OrdinaryBCPL) || in isOrdinaryKind()
107 (K == RawComment::RCK_OrdinaryC); in isOrdinaryKind()
110 RawComment::RawComment(const SourceManager &SourceMgr, SourceRange SR, in RawComment() function in RawComment
153 StringRef RawComment::getRawTextSlow(const SourceManager &SourceMgr) const { in getRawTextSlow()
179 const char *RawComment::extractBriefText(const ASTContext &Context) const { in extractBriefText()
204 comments::FullComment *RawComment::parse(const ASTContext &Context, in parse()
274 void RawCommentList::addComment(const RawComment &RC, in addComment()
294 new (Allocator) RawComment(RC); in addComment()
298 const RawComment &C1 = *OrderedComments[CommentFile].rbegin()->second; in addComment()
299 const RawComment &C2 = RC; in addComment()
322 RawComment(SourceMgr, MergedRange, CommentOpts, true); in addComment()
325 new (Allocator) RawComment(RC); in addComment()
329 const std::map<unsigned, RawComment *> *
340 unsigned RawCommentList::getCommentBeginLine(RawComment *C, FileID File, in getCommentBeginLine()
350 unsigned RawCommentList::getCommentEndOffset(RawComment *C) const { in getCommentEndOffset()
360 std::string RawComment::getFormattedText(const SourceManager &SourceMgr, in getFormattedText()
367 for (const RawComment::CommentLine &Line : in getFormattedText()
377 std::vector<RawComment::CommentLine>
378 RawComment::getFormattedLines(const SourceManager &SourceMgr, in getFormattedLines()
393 std::vector<RawComment::CommentLine> Result; in getFormattedLines()