Lines Matching refs:CurrentDecl
830 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isAnyFunctionDecl()
831 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()
835 if (!isFunctionDecl() || !ThisDeclInfo->CurrentDecl) in isFunctionOrMethodVariadic()
838 dyn_cast<FunctionDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
841 dyn_cast<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
844 dyn_cast<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
847 dyn_cast<TypedefNameDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionOrMethodVariadic()
858 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isObjCMethodDecl()
859 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()
868 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionPointerVarDecl()
882 !ThisDeclInfo->CurrentDecl) in isFunctionOrBlockPointerVarLikeDecl()
885 if (const auto *VD = dyn_cast<DeclaratorDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrBlockPointerVarLikeDecl()
888 dyn_cast<ObjCPropertyDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrBlockPointerVarLikeDecl()
911 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty; in isObjCPropertyDecl()
937 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl)) in isUnionDecl()
954 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructDecl()
957 return isClassOrStructDeclImpl(ThisDeclInfo->CurrentDecl); in isClassOrStructDecl()
966 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructOrTagTypedefDecl()
969 if (isClassOrStructDeclImpl(ThisDeclInfo->CurrentDecl)) in isClassOrStructOrTagTypedefDecl()
972 if (auto *ThisTypedefDecl = dyn_cast<TypedefDecl>(ThisDeclInfo->CurrentDecl)) { in isClassOrStructOrTagTypedefDecl()
992 return ThisDeclInfo->CurrentDecl && in isClassTemplateDecl()
993 (isa<ClassTemplateDecl>(ThisDeclInfo->CurrentDecl)); in isClassTemplateDecl()
1001 return ThisDeclInfo->CurrentDecl && in isFunctionTemplateDecl()
1002 (isa<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl)); in isFunctionTemplateDecl()
1010 return ThisDeclInfo->CurrentDecl && in isObjCInterfaceDecl()
1011 isa<ObjCInterfaceDecl>(ThisDeclInfo->CurrentDecl); in isObjCInterfaceDecl()
1019 return ThisDeclInfo->CurrentDecl && in isObjCProtocolDecl()
1020 isa<ObjCProtocolDecl>(ThisDeclInfo->CurrentDecl); in isObjCProtocolDecl()