• Home
  • Raw
  • Download

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
152 StringRef RawComment::getRawTextSlow(const SourceManager &SourceMgr) const { in getRawTextSlow()
178 const char *RawComment::extractBriefText(const ASTContext &Context) const { in extractBriefText()
203 comments::FullComment *RawComment::parse(const ASTContext &Context, in parse()
273 void RawCommentList::addComment(const RawComment &RC, in addComment()
293 new (Allocator) RawComment(RC); in addComment()
297 const RawComment &C1 = *OrderedComments[CommentFile].rbegin()->second; in addComment()
298 const RawComment &C2 = RC; in addComment()
321 RawComment(SourceMgr, MergedRange, CommentOpts, true); in addComment()
324 new (Allocator) RawComment(RC); in addComment()
328 const std::map<unsigned, RawComment *> *
339 unsigned RawCommentList::getCommentBeginLine(RawComment *C, FileID File, in getCommentBeginLine()
349 unsigned RawCommentList::getCommentEndOffset(RawComment *C) const { in getCommentEndOffset()
359 std::string RawComment::getFormattedText(const SourceManager &SourceMgr, in getFormattedText()