Home
last modified time | relevance | path

Searched refs:CommentDecl (Results 1 – 5 of 5) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DComment.cpp202 if (!CommentDecl) { in fill()
207 CurrentDecl = CommentDecl; in fill()
209 Decl::Kind K = CommentDecl->getKind(); in fill()
219 const FunctionDecl *FD = cast<FunctionDecl>(CommentDecl); in fill()
232 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CommentDecl); in fill()
239 const ObjCMethodDecl *MD = cast<ObjCMethodDecl>(CommentDecl); in fill()
267 cast<ClassTemplatePartialSpecializationDecl>(CommentDecl); in fill()
288 if (const auto *VD = dyn_cast<DeclaratorDecl>(CommentDecl)) in fill()
290 else if (const auto *PD = dyn_cast<ObjCPropertyDecl>(CommentDecl)) in fill()
315 ? cast<TypedefDecl>(CommentDecl)->getTypeSourceInfo() in fill()
[all …]
H A DCommentSema.cpp41 ThisDeclInfo->CommentDecl = D; in setDecl()
594 switch (ThisDeclInfo->CommentDecl->getKind()) { in checkReturnsCommand()
669 const Decl *D = ThisDeclInfo->CommentDecl; in checkDeprecatedCommand()
H A DASTContext.cpp473 ThisDeclInfo->CommentDecl = D; in cloneFullComment()
476 ThisDeclInfo->CommentDecl = FC->getDecl(); in cloneFullComment()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DCommentToXML.cpp903 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DI->CommentDecl)) { in visitFullComment()
918 generateUSRForDecl(DI->CommentDecl, USR); in visitFullComment()
987 if (DI->CommentDecl->hasAttrs()) { in visitFullComment()
988 const AttrVec &Attrs = DI->CommentDecl->getAttrs(); in visitFullComment()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DComment.h984 const Decl *CommentDecl; member
1121 return ThisDeclInfo->CommentDecl; in getDecl()