Home
last modified time | relevance | path

Searched refs:DocComment (Results 1 – 7 of 7) sorted by relevance

/llvm-project/clang/include/clang/ExtractAPI/
H A DAPI.h138 /// DocComment is a vector of RawComment::CommentLine. in addTemplateParameter()
151 using DocComment = std::vector<RawComment::CommentLine>;
244 DocComment Comment;
285 const DocComment &Comment, DeclarationFragments Declaration,
385 LinkageInfo Linkage, const DocComment &Comment,
405 LinkageInfo Linkage, const DocComment &Comment,
417 const DocComment &Comment, in GlobalFunctionRecord()
441 LinkageInfo Linkage, const DocComment &Comment,
464 const DocComment &Comment, DeclarationFragments Declaration,
484 LinkageInfo Linkage, const DocComment
158 using DocComment = std::vector<RawComment::CommentLine>; global() variable
[all...]
H A DExtractAPIVisitor.h302 DocComment Comment; in VisitVarDecl()
375 DocComment Comment; in VisitFunctionDecl()
412 DocComment Comment; in VisitEnumDecl()
543 DocComment Comment; in VisitNamespaceDecl()
589 DocComment Comment; in VisitCXXRecordDecl()
644 DocComment Comment; in VisitCXXMethodDecl()
697 DocComment Comment; in VisitCXXMethodDecl()
758 DocComment Comment; in VisitCXXDestructorDecl()
792 DocComment Comment; in VisitConceptDecl()
823 DocComment Commen in VisitClassTemplateSpecializationDecl()
[all...]
/llvm-project/clang-tools-extra/clangd/
H A DCodeCompletionStrings.cpp283 llvm::StringRef DocComment) { in formatDocumentation() argument
301 if (!DocComment.empty()) { in formatDocumentation()
307 Result += DocComment; in formatDocumentation()
H A DCodeCompletionStrings.h64 llvm::StringRef DocComment);
H A DCodeComplete.cpp509 const auto DocComment = getDocComment(*ASTCtx, *C.SemaResult, in add() local
511 SetDoc(formatDocumentation(*SemaCCS, DocComment)); in add()
1236 llvm::StringRef DocComment) const { in processOverloadCandidate()
1242 parseDocumentation(formatDocumentation(CCS, DocComment), OverloadComment); in processOverloadCandidate()
/llvm-project/clang/lib/ExtractAPI/Serialization/
H A DSymbolGraphSerializer.cpp258 std::optional<Object> serializeDocComment(const DocComment &Comment) { in serializeDocComment()
262 Object DocComment; in serializeDocComment()
273 serializeArray(DocComment, "lines", std::move(LinesArray));
275 return DocComment;
256 Object DocComment; serializeDocComment() local
/llvm-project/clang/lib/AST/
H A DASTContext.cpp581 if (RawComment *const DocComment = getRawCommentForDeclNoCacheImpl( in getCommentForDecl()
583 cacheRawCommentForDecl(*D, *DocComment); in getCommentForDecl()
584 comments::FullComment *FC = DocComment->parse(*this, PP, D); in getCommentForDecl()
549 if (RawComment *const DocComment = getRawCommentForDeclNoCacheImpl( attachCommentsToJustParsedDecls() local