Searched refs:RawComment (Results 1 – 11 of 11) sorted by relevance
/external/clang/lib/AST/ |
D | RawCommentList.cpp | 24 std::pair<RawComment::CommentKind, bool> getCommentKind(StringRef Comment, in getCommentKind() 28 return std::make_pair(RawComment::RCK_Invalid, false); in getCommentKind() 30 RawComment::CommentKind K; in getCommentKind() 33 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false); in getCommentKind() 36 K = RawComment::RCK_BCPLSlash; in getCommentKind() 38 K = RawComment::RCK_BCPLExcl; in getCommentKind() 40 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false); in getCommentKind() 49 return std::make_pair(RawComment::RCK_Invalid, false); in getCommentKind() 52 K = RawComment::RCK_JavaDoc; in getCommentKind() 54 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 | 573 const RawComment *getRaw() const LLVM_READONLY { in getRaw() 577 void setRaw(const RawComment *RC) { in setRaw() 590 llvm::PointerIntPair<const RawComment *, 2, Kind> Data; 607 RawComment *getRawCommentForDeclNoCache(const Decl *D) const; 614 void addComment(const RawComment &RC) { in addComment() 625 const RawComment *
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 1186 RawComment RC(SourceMgr, Comment, false, in ActOnComment() 1193 case RawComment::RCK_OrdinaryBCPL: in ActOnComment() 1196 case RawComment::RCK_OrdinaryC: in ActOnComment()
|
D | SemaCodeComplete.cpp | 2556 if (const RawComment *RC = in CreateCodeCompletionString() 2561 else if (const RawComment *RC = in CreateCodeCompletionString() 2630 if (const RawComment *RC = Ctx.getRawCommentForAnyRedecl(ND)) { in CreateCodeCompletionString() 2636 if (const RawComment *RC = Ctx.getRawCommentForAnyRedecl(PDecl)) in CreateCodeCompletionString()
|
D | SemaDecl.cpp | 9897 ArrayRef<RawComment *> Comments = Context.getRawCommentList().getComments(); in ActOnDocumentableDecls()
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 591 CXString RawComment; in PrintCursorComments() local 596 RawComment = clang_Cursor_getRawCommentText(Cursor); in PrintCursorComments() 597 RawCommentCString = clang_getCString(RawComment); in PrintCursorComments() 608 clang_disposeString(RawComment); in PrintCursorComments()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 8252 std::vector<RawComment *> Comments; in ReadComments() 8286 RawComment::CommentKind Kind = in ReadComments() 8287 (RawComment::CommentKind) Record[Idx++]; in ReadComments() 8290 Comments.push_back(new (Context) RawComment( in ReadComments()
|
D | ASTWriter.cpp | 2852 ArrayRef<RawComment *> RawComments = Context->Comments.getComments(); in WriteComments() 2854 for (ArrayRef<RawComment *>::iterator I = RawComments.begin(), in WriteComments()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 6660 const RawComment *RC = Context.getRawCommentForAnyRedecl(D); in clang_Cursor_getCommentRange() 6673 const RawComment *RC = Context.getRawCommentForAnyRedecl(D); in clang_Cursor_getRawCommentText() 6688 const RawComment *RC = Context.getRawCommentForAnyRedecl(D); in clang_Cursor_getBriefCommentText()
|