Searched refs:RawComment (Results 1 - 9 of 9) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DRawCommentList.h30 class RawComment { class in namespace:clang
43 RawComment() : Kind(RCK_Invalid), IsAlmostTrailingComment(false) { } function in class:clang::RawComment
45 RawComment(const SourceManager &SourceMgr, SourceRange SR,
162 RawComment(SourceRange SR, CommentKind K, bool IsTrailingComment, function in class:clang::RawComment
178 class BeforeThanCompare<RawComment> {
184 bool operator()(const RawComment &LHS, const RawComment &RHS) {
188 bool operator()(const RawComment *LHS, const RawComment *RHS) {
199 void addComment(const RawComment
[all...]
H A DASTContext.h750 mutable llvm::DenseMap<const Decl *, const RawComment *> DeclRawComments;
778 const RawComment &Comment) const;
785 RawComment *getRawCommentForDeclNoCacheImpl(
787 const std::map<unsigned, RawComment *> &CommentsInFile) const;
791 RawComment *getRawCommentForDeclNoCache(const Decl *D) const;
798 void addComment(const RawComment &RC) {
809 const RawComment *
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DRawCommentList.cpp24 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
108 RawComment::RawComment(const SourceManager &SourceMgr, SourceRange SR, function in class:RawComment
[all...]
H A DASTContext.cpp222 RawComment *ASTContext::getRawCommentForDeclNoCacheImpl(
224 const std::map<unsigned, RawComment *> &CommentsInTheFile) const {
246 RawComment *CommentBehindDecl = OffsetCommentBehindDecl->second;
269 RawComment *CommentBeforeDecl = OffsetCommentBeforeDecl->second;
300 RawComment *ASTContext::getRawCommentForDeclNoCache(const Decl *D) const {
394 const RawComment *ASTContext::getRawCommentForAnyRedecl(
450 const RawComment *RedeclComment = getRawCommentForDeclNoCache(Redecl);
466 const RawComment &Comment) const {
528 if (RawComment *const DocComment =
553 const RawComment *R
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h48 class RawComment;
1157 const RawComment *getCompletionComment(const ASTContext &Ctx,
1162 const RawComment *getPatternCompletionComment(const ASTContext &Ctx,
1167 const RawComment *
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp1920 RawComment RC(SourceMgr, Comment, LangOpts.CommentOpts, false);
1926 case RawComment::RCK_OrdinaryBCPL:
1929 case RawComment::RCK_OrdinaryC:
H A DSemaCodeComplete.cpp3271 if (const RawComment *RC =
3350 if (const RawComment *RC = getCompletionComment(Ctx, Declaration)) {
3553 const RawComment *clang::getCompletionComment(const ASTContext &Ctx,
3571 const RawComment *clang::getPatternCompletionComment(const ASTContext &Ctx,
3594 const RawComment *clang::getParameterComment(
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp8958 std::vector<RawComment *> Comments;
9003 RawComment::CommentKind Kind =
9004 (RawComment::CommentKind) Record[Idx++];
9007 Comments.push_back(new (Context) RawComment(
9014 llvm::DenseMap<FileID, std::map<unsigned, RawComment *>>
9016 for (RawComment *C : Comments) {
H A DASTWriter.cpp2909 const RawComment *I = OC.second;

Completed in 369 milliseconds