Lines Matching refs:CurrentDecl

809   return isFunctionDecl() && ThisDeclInfo->CurrentDecl &&  in isAnyFunctionDecl()
810 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()
822 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isObjCMethodDecl()
823 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()
832 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionPointerVarDecl()
845 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty; in isObjCPropertyDecl()
871 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl)) in isUnionDecl()
888 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructDecl()
891 return isClassOrStructDeclImpl(ThisDeclInfo->CurrentDecl); in isClassOrStructDecl()
900 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructOrTagTypedefDecl()
903 if (isClassOrStructDeclImpl(ThisDeclInfo->CurrentDecl)) in isClassOrStructOrTagTypedefDecl()
906 if (auto *ThisTypedefDecl = dyn_cast<TypedefDecl>(ThisDeclInfo->CurrentDecl)) { in isClassOrStructOrTagTypedefDecl()
926 return ThisDeclInfo->CurrentDecl && in isClassTemplateDecl()
927 (isa<ClassTemplateDecl>(ThisDeclInfo->CurrentDecl)); in isClassTemplateDecl()
935 return ThisDeclInfo->CurrentDecl && in isFunctionTemplateDecl()
936 (isa<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl)); in isFunctionTemplateDecl()
944 return ThisDeclInfo->CurrentDecl && in isObjCInterfaceDecl()
945 isa<ObjCInterfaceDecl>(ThisDeclInfo->CurrentDecl); in isObjCInterfaceDecl()
953 return ThisDeclInfo->CurrentDecl && in isObjCProtocolDecl()
954 isa<ObjCProtocolDecl>(ThisDeclInfo->CurrentDecl); in isObjCProtocolDecl()