Searched refs:RawComment (Results 1 – 11 of 11) sorted by relevance
/external/clang/lib/AST/ |
D | RawCommentList.cpp | 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() [all …]
|
D | ASTContext.cpp | 63 RawComment *ASTContext::getRawCommentForDeclNoCache(const Decl *D) const { in getRawCommentForDeclNoCache() 68 ArrayRef<RawComment *> RawComments = Comments.getComments(); in getRawCommentForDeclNoCache() 70 BeforeThanCompare<RawComment>(SourceMgr))); in getRawCommentForDeclNoCache() 128 ArrayRef<RawComment *> RawComments = Comments.getComments(); in getRawCommentForDeclNoCache() 173 ArrayRef<RawComment *>::iterator Comment; in getRawCommentForDeclNoCache() 178 RawComment CommentAtDeclLoc( in getRawCommentForDeclNoCache() 181 BeforeThanCompare<RawComment> Compare(SourceMgr); in getRawCommentForDeclNoCache() 182 ArrayRef<RawComment *>::iterator MaybeBeforeDecl = RawComments.end() - 1; in getRawCommentForDeclNoCache() 332 const RawComment *ASTContext::getRawCommentForAnyRedecl( in getRawCommentForAnyRedecl() 352 const RawComment *RC = nullptr; in getRawCommentForAnyRedecl() [all …]
|
/external/clang/include/clang/AST/ |
D | RawCommentList.h | 28 class RawComment { 41 RawComment() : Kind(RCK_Invalid), IsAlmostTrailingComment(false) { } in RawComment() function 43 RawComment(const SourceManager &SourceMgr, SourceRange SR, 147 RawComment(SourceRange SR, CommentKind K, bool IsTrailingComment, in RawComment() function 165 class BeforeThanCompare<RawComment> { 171 bool operator()(const RawComment &LHS, const RawComment &RHS) { in operator() 175 bool operator()(const RawComment *LHS, const RawComment *RHS) { in operator() 186 void addComment(const RawComment &RC, llvm::BumpPtrAllocator &Allocator); 188 ArrayRef<RawComment *> getComments() const { in getComments() 194 std::vector<RawComment *> Comments; [all …]
|
D | ASTContext.h | 645 const RawComment *getRaw() const LLVM_READONLY { in getRaw() 649 void setRaw(const RawComment *RC) { in setRaw() 662 llvm::PointerIntPair<const RawComment *, 2, Kind> Data; 679 RawComment *getRawCommentForDeclNoCache(const Decl *D) const; 686 void addComment(const RawComment &RC) { in addComment() 697 const RawComment *
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 1236 RawComment RC(SourceMgr, Comment, false, in ActOnComment() 1243 case RawComment::RCK_OrdinaryBCPL: in ActOnComment() 1246 case RawComment::RCK_OrdinaryC: in ActOnComment()
|
D | SemaCodeComplete.cpp | 2608 if (const RawComment *RC = in CreateCodeCompletionString() 2613 else if (const RawComment *RC = in CreateCodeCompletionString() 2678 if (const RawComment *RC = Ctx.getRawCommentForAnyRedecl(ND)) { in CreateCodeCompletionString() 2684 if (const RawComment *RC = Ctx.getRawCommentForAnyRedecl(PDecl)) in CreateCodeCompletionString()
|
D | SemaDecl.cpp | 10366 ArrayRef<RawComment *> Comments = Context.getRawCommentList().getComments(); in ActOnDocumentableDecls()
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 604 CXString RawComment; in PrintCursorComments() local 609 RawComment = clang_Cursor_getRawCommentText(Cursor); in PrintCursorComments() 610 RawCommentCString = clang_getCString(RawComment); in PrintCursorComments() 621 clang_disposeString(RawComment); in PrintCursorComments()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 8184 std::vector<RawComment *> Comments; in ReadComments() 8218 RawComment::CommentKind Kind = in ReadComments() 8219 (RawComment::CommentKind) Record[Idx++]; in ReadComments() 8222 Comments.push_back(new (Context) RawComment( in ReadComments()
|
D | ASTWriter.cpp | 2826 ArrayRef<RawComment *> RawComments = Context->Comments.getComments(); in WriteComments()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 6923 const RawComment *RC = Context.getRawCommentForAnyRedecl(D); in clang_Cursor_getCommentRange() 6936 const RawComment *RC = Context.getRawCommentForAnyRedecl(D); in clang_Cursor_getRawCommentText() 6951 const RawComment *RC = Context.getRawCommentForAnyRedecl(D); in clang_Cursor_getBriefCommentText()
|