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 | 64 RawComment *ASTContext::getRawCommentForDeclNoCache(const Decl *D) const { in getRawCommentForDeclNoCache() 69 ArrayRef<RawComment *> RawComments = Comments.getComments(); in getRawCommentForDeclNoCache() 71 BeforeThanCompare<RawComment>(SourceMgr))); in getRawCommentForDeclNoCache() 129 ArrayRef<RawComment *> RawComments = Comments.getComments(); in getRawCommentForDeclNoCache() 174 ArrayRef<RawComment *>::iterator Comment; in getRawCommentForDeclNoCache() 179 RawComment CommentAtDeclLoc( in getRawCommentForDeclNoCache() 182 BeforeThanCompare<RawComment> Compare(SourceMgr); in getRawCommentForDeclNoCache() 183 ArrayRef<RawComment *>::iterator MaybeBeforeDecl = RawComments.end() - 1; in getRawCommentForDeclNoCache() 333 const RawComment *ASTContext::getRawCommentForAnyRedecl( in getRawCommentForAnyRedecl() 353 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 | 655 const RawComment *getRaw() const LLVM_READONLY { in getRaw() 659 void setRaw(const RawComment *RC) { in setRaw() 672 llvm::PointerIntPair<const RawComment *, 2, Kind> Data; 689 RawComment *getRawCommentForDeclNoCache(const Decl *D) const; 696 void addComment(const RawComment &RC) { in addComment() 707 const RawComment *
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 1229 RawComment RC(SourceMgr, Comment, false, in ActOnComment() 1236 case RawComment::RCK_OrdinaryBCPL: in ActOnComment() 1239 case RawComment::RCK_OrdinaryC: in ActOnComment()
|
D | SemaCodeComplete.cpp | 2620 if (const RawComment *RC = in CreateCodeCompletionString() 2625 else if (const RawComment *RC = in CreateCodeCompletionString() 2690 if (const RawComment *RC = Ctx.getRawCommentForAnyRedecl(ND)) { in CreateCodeCompletionString() 2696 if (const RawComment *RC = Ctx.getRawCommentForAnyRedecl(PDecl)) in CreateCodeCompletionString()
|
D | SemaDecl.cpp | 10775 ArrayRef<RawComment *> Comments = Context.getRawCommentList().getComments(); in ActOnDocumentableDecls()
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 608 CXString RawComment; in PrintCursorComments() local 613 RawComment = clang_Cursor_getRawCommentText(Cursor); in PrintCursorComments() 614 RawCommentCString = clang_getCString(RawComment); in PrintCursorComments() 625 clang_disposeString(RawComment); in PrintCursorComments()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 8240 std::vector<RawComment *> Comments; in ReadComments() 8274 RawComment::CommentKind Kind = in ReadComments() 8275 (RawComment::CommentKind) Record[Idx++]; in ReadComments() 8278 Comments.push_back(new (Context) RawComment( in ReadComments()
|
D | ASTWriter.cpp | 2845 ArrayRef<RawComment *> RawComments = Context->Comments.getComments(); in WriteComments()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 7295 const RawComment *RC = Context.getRawCommentForAnyRedecl(D); in clang_Cursor_getCommentRange() 7308 const RawComment *RC = Context.getRawCommentForAnyRedecl(D); in clang_Cursor_getRawCommentText() 7323 const RawComment *RC = Context.getRawCommentForAnyRedecl(D); in clang_Cursor_getBriefCommentText()
|