Lines Matching refs:CurrentDecl
810 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isAnyFunctionDecl()
811 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()
815 if (!isFunctionDecl() || !ThisDeclInfo->CurrentDecl) in isFunctionOrMethodVariadic()
818 dyn_cast<FunctionDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
821 dyn_cast<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
824 dyn_cast<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
827 dyn_cast<TypedefNameDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionOrMethodVariadic()
838 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isObjCMethodDecl()
839 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()
848 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionPointerVarDecl()
862 !ThisDeclInfo->CurrentDecl) in isFunctionOrBlockPointerVarLikeDecl()
865 if (const auto *VD = dyn_cast<DeclaratorDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrBlockPointerVarLikeDecl()
868 dyn_cast<ObjCPropertyDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrBlockPointerVarLikeDecl()
885 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty; in isObjCPropertyDecl()
911 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl)) in isUnionDecl()
921 return ThisDeclInfo->CurrentDecl && in isClassOrStructDecl()
922 isa<RecordDecl>(ThisDeclInfo->CurrentDecl) && in isClassOrStructDecl()
931 return ThisDeclInfo->CurrentDecl && in isClassTemplateDecl()
932 (isa<ClassTemplateDecl>(ThisDeclInfo->CurrentDecl)); in isClassTemplateDecl()
940 return ThisDeclInfo->CurrentDecl && in isFunctionTemplateDecl()
941 (isa<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl)); in isFunctionTemplateDecl()
949 return ThisDeclInfo->CurrentDecl && in isObjCInterfaceDecl()
950 isa<ObjCInterfaceDecl>(ThisDeclInfo->CurrentDecl); in isObjCInterfaceDecl()
958 return ThisDeclInfo->CurrentDecl && in isObjCProtocolDecl()
959 isa<ObjCProtocolDecl>(ThisDeclInfo->CurrentDecl); in isObjCProtocolDecl()