Lines Matching defs:RawComment
24 std::pair<RawComment::CommentKind, bool> getCommentKind(StringRef Comment,
28 return std::make_pair(RawComment::RCK_Invalid, false);
30 RawComment::CommentKind K;
33 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false);
36 K = RawComment::RCK_BCPLSlash;
38 K = RawComment::RCK_BCPLExcl;
40 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false);
49 return std::make_pair(RawComment::RCK_Invalid, false);
52 K = RawComment::RCK_JavaDoc;
54 K = RawComment::RCK_Qt;
56 return std::make_pair(RawComment::RCK_OrdinaryC, false);
67 RawComment::RawComment(const SourceManager &SourceMgr, SourceRange SR,
93 unsigned RawComment::getBeginLine(const SourceManager &SM) const {
103 unsigned RawComment::getEndLine(const SourceManager &SM) const {
113 StringRef RawComment::getRawTextSlow(const SourceManager &SourceMgr) const {
140 const char *RawComment::extractBriefText(const ASTContext &Context) const {
165 comments::FullComment *RawComment::parse(const ASTContext &Context,
211 void RawCommentList::addComment(const RawComment &RC,
242 Comments.push_back(new (Allocator) RawComment(RC));
247 const RawComment &C1 = *Comments.back();
248 const RawComment &C2 = RC;
261 *Comments.back() = RawComment(SourceMgr, MergedRange, true,
267 Comments.push_back(new (Allocator) RawComment(RC));