Home
last modified time | relevance | path

Searched refs:CurrentDecl (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DCommentSema.cpp830 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isAnyFunctionDecl()
831 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()
835 if (!isFunctionDecl() || !ThisDeclInfo->CurrentDecl) in isFunctionOrMethodVariadic()
859 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()
882 !ThisDeclInfo->CurrentDecl) in isFunctionOrBlockPointerVarLikeDecl()
954 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructDecl()
966 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructOrTagTypedefDecl()
992 return ThisDeclInfo->CurrentDecl && in isClassTemplateDecl()
1001 return ThisDeclInfo->CurrentDecl && in isFunctionTemplateDecl()
1010 return ThisDeclInfo->CurrentDecl && in isObjCInterfaceDecl()
[all …]
H A DComment.cpp221 CurrentDecl = CommentDecl; in fill()
H A DExpr.cpp632 std::string PredefinedExpr::ComputeName(IdentKind IK, const Decl *CurrentDecl) { in ComputeName() argument
633 ASTContext &Context = CurrentDecl->getASTContext(); in ComputeName()
636 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) { in ComputeName()
662 if (isa<BlockDecl>(CurrentDecl)) { in ComputeName()
666 auto DC = CurrentDecl->getDeclContext(); in ComputeName()
679 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { in ComputeName()
826 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
836 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) { in ComputeName()
857 if (isa<TranslationUnitDecl>(CurrentDecl) && IK == PrettyFunction) { in ComputeName()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp578 ASTContext &Context = ThisDecl->CurrentDecl->getASTContext(); in getSourceTextOfDeclaration()
585 ThisDecl->CurrentDecl->print(OS, PPolicy, in getSourceTextOfDeclaration()
888 SourceLocation Loc = DI->CurrentDecl->getLocation(); in visitFullComment()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DComment.h993 const Decl *CurrentDecl; member
H A DExpr.h2018 static std::string ComputeName(IdentKind IK, const Decl *CurrentDecl);