Searched refs:RawComment (Results 1 - 11 of 11) sorted by relevance
/external/clang/lib/AST/ |
H A D | RawCommentList.cpp | 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 67 RawComment::RawComment(const SourceManager &SourceMgr, SourceRange SR, function in class:RawComment [all...] |
H A D | ASTContext.cpp | 60 RawComment *ASTContext::getRawCommentForDeclNoCache(const Decl *D) const { 118 ArrayRef<RawComment *> RawComments = Comments.getComments(); 151 ArrayRef<RawComment *>::iterator Comment; 156 RawComment CommentAtDeclLoc( 159 BeforeThanCompare<RawComment> Compare(SourceMgr); 160 ArrayRef<RawComment *>::iterator MaybeBeforeDecl = RawComments.end() - 1; 310 const RawComment *ASTContext::getRawCommentForAnyRedecl( 330 const RawComment *RC = NULL; 418 const RawComment *RC = getRawCommentForDeclNoCache(D); 444 const RawComment *R [all...] |
/external/clang/include/clang/AST/ |
H A D | RawCommentList.h | 28 class RawComment { class in namespace:clang 41 RawComment() : Kind(RCK_Invalid), IsAlmostTrailingComment(false) { } function in class:clang::RawComment 43 RawComment(const SourceManager &SourceMgr, SourceRange SR, 155 RawComment(SourceRange SR, CommentKind K, bool IsTrailingComment, function in class:clang::RawComment 174 class BeforeThanCompare<RawComment> { 180 bool operator()(const RawComment &LHS, const RawComment &RHS) { 185 bool operator()(const RawComment *LHS, const RawComment *RHS) { 197 void addComment(const RawComment [all...] |
H A D | ASTContext.h | 532 const RawComment *getRaw() const LLVM_READONLY { 536 void setRaw(const RawComment *RC) { 549 llvm::PointerIntPair<const RawComment *, 2, Kind> Data; 566 RawComment *getRawCommentForDeclNoCache(const Decl *D) const; 573 void addComment(const RawComment &RC) { 584 const RawComment *getRawCommentForAnyRedecl(
|
/external/clang/lib/Sema/ |
H A D | Sema.cpp | 1070 RawComment RC(SourceMgr, Comment, false, 1077 case RawComment::RCK_OrdinaryBCPL: 1080 case RawComment::RCK_OrdinaryC:
|
H A D | SemaCodeComplete.cpp | 2554 if (const RawComment *RC = 2559 else if (const RawComment *RC = 2627 if (const RawComment *RC = Ctx.getRawCommentForAnyRedecl(ND)) { 2633 if (const RawComment *RC = Ctx.getRawCommentForAnyRedecl(PDecl))
|
H A D | SemaDecl.cpp | 8840 ArrayRef<RawComment *> Comments = Context.getRawCommentList().getComments();
|
/external/clang/tools/c-index-test/ |
H A D | c-index-test.c | 524 CXString RawComment; local 529 RawComment = clang_Cursor_getRawCommentText(Cursor); 530 RawCommentCString = clang_getCString(RawComment); 532 PrintCStringWithPrefix("RawComment", RawCommentCString); 541 clang_disposeString(RawComment);
|
/external/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 7245 std::vector<RawComment *> Comments; 7278 RawComment::CommentKind Kind = 7279 (RawComment::CommentKind) Record[Idx++]; 7282 Comments.push_back(new (Context) RawComment(
|
H A D | ASTWriter.cpp | 2684 ArrayRef<RawComment *> RawComments = Context->Comments.getComments(); 2686 for (ArrayRef<RawComment *>::iterator I = RawComments.begin(),
|
/external/clang/tools/libclang/ |
H A D | CIndex.cpp | 6085 const RawComment *RC = Context.getRawCommentForAnyRedecl(D); 6098 const RawComment *RC = Context.getRawCommentForAnyRedecl(D); 6113 const RawComment *RC = Context.getRawCommentForAnyRedecl(D); 6118 // Don't duplicate the string because RawComment ensures that this memory
|
Completed in 610 milliseconds