HomeSort by: relevance | last modified time | path
    Searched refs:RawComment (Results 1 - 12 of 12) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/AST/
RawCommentList.cpp 25 std::pair<RawComment::CommentKind, bool> getCommentKind(StringRef Comment,
29 return std::make_pair(RawComment::RCK_Invalid, false);
31 RawComment::CommentKind K;
34 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false);
37 K = RawComment::RCK_BCPLSlash;
39 K = RawComment::RCK_BCPLExcl;
41 return std::make_pair(RawComment::RCK_OrdinaryBCPL, false);
50 return std::make_pair(RawComment::RCK_Invalid, false);
53 K = RawComment::RCK_JavaDoc;
55 K = RawComment::RCK_Qt
    [all...]
ASTContext.cpp 200 RawComment *ASTContext::getRawCommentForDeclNoCacheImpl(
202 const std::map<unsigned, RawComment *> &CommentsInTheFile) const {
224 RawComment *CommentBehindDecl = OffsetCommentBehindDecl->second;
247 RawComment *CommentBeforeDecl = OffsetCommentBeforeDecl->second;
278 RawComment *ASTContext::getRawCommentForDeclNoCache(const Decl *D) const {
302 void ASTContext::addComment(const RawComment &RC) {
378 const RawComment *ASTContext::getRawCommentForAnyRedecl(
434 const RawComment *RedeclComment = getRawCommentForDeclNoCache(Redecl);
450 const RawComment &Comment) const {
522 if (RawComment *const DocComment
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
RawCommentList.h 32 class RawComment {
45 RawComment() : Kind(RCK_Invalid), IsAlmostTrailingComment(false) { }
47 RawComment(const SourceManager &SourceMgr, SourceRange SR,
164 RawComment(SourceRange SR, CommentKind K, bool IsTrailingComment,
184 void addComment(const RawComment &RC, const CommentOptions &CommentOpts,
189 const std::map<unsigned, RawComment *> *getCommentsInFile(FileID File) const;
193 unsigned getCommentBeginLine(RawComment *C, FileID File,
195 unsigned getCommentEndOffset(RawComment *C) const;
200 llvm::DenseMap<FileID, std::map<unsigned, RawComment *>> OrderedComments;
201 mutable llvm::DenseMap<RawComment *, unsigned> CommentBeginLine
    [all...]
ASTContext.h 749 mutable llvm::DenseMap<const Decl *, const RawComment *> DeclRawComments;
777 const RawComment &Comment) const;
784 RawComment *getRawCommentForDeclNoCacheImpl(
786 const std::map<unsigned, RawComment *> &CommentsInFile) const;
790 RawComment *getRawCommentForDeclNoCache(const Decl *D) const;
793 void addComment(const RawComment &RC);
800 const RawComment *
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
CodeCompleteConsumer.h 48 class RawComment;
1154 const RawComment *getCompletionComment(const ASTContext &Ctx,
1159 const RawComment *getPatternCompletionComment(const ASTContext &Ctx,
1164 const RawComment *
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/
SourceCode.cpp 345 if (const RawComment *Comment =
  /src/external/apache2/llvm/dist/clang/lib/Sema/
Sema.cpp 2164 RawComment RC(SourceMgr, Comment, LangOpts.CommentOpts, false);
2170 case RawComment::RCK_OrdinaryBCPL:
2173 case RawComment::RCK_OrdinaryC:
SemaCodeComplete.cpp 3356 if (const RawComment *RC =
3435 if (const RawComment *RC = getCompletionComment(Ctx, Declaration)) {
3640 const RawComment *clang::getCompletionComment(const ASTContext &Ctx,
3658 const RawComment *clang::getPatternCompletionComment(const ASTContext &Ctx,
3681 const RawComment *clang::getParameterComment(
  /src/external/apache2/llvm/dist/clang/tools/c-index-test/
c-index-test.c 691 CXString RawComment;
696 RawComment = clang_Cursor_getRawCommentText(Cursor);
697 RawCommentCString = clang_getCString(RawComment);
699 PrintCStringWithPrefix("RawComment", RawCommentCString);
708 clang_disposeString(RawComment);
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTReader.cpp 9047 std::vector<RawComment *> Comments;
9092 RawComment::CommentKind Kind =
9093 (RawComment::CommentKind) Record[Idx++];
9096 Comments.push_back(new (Context) RawComment(
9103 llvm::DenseMap<FileID, std::map<unsigned, RawComment *>>
9105 for (RawComment *C : Comments) {
ASTWriter.cpp 2973 const RawComment *I = OC.second;
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndex.cpp 8384 const RawComment *RC = Context.getRawCommentForAnyRedecl(D);
8397 const RawComment *RC = Context.getRawCommentForAnyRedecl(D);
8412 const RawComment *RC = Context.getRawCommentForAnyRedecl(D);
8417 // Don't duplicate the string because RawComment ensures that this memory

Completed in 47 milliseconds