Lines Matching refs:CurrentDecl
811 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isAnyFunctionDecl()
812 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()
824 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isObjCMethodDecl()
825 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()
834 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionPointerVarDecl()
847 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty; in isObjCPropertyDecl()
873 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl)) in isUnionDecl()
890 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructDecl()
893 return isClassOrStructDeclImpl(ThisDeclInfo->CurrentDecl); in isClassOrStructDecl()
902 if (!ThisDeclInfo->CurrentDecl) in isClassOrStructOrTagTypedefDecl()
905 if (isClassOrStructDeclImpl(ThisDeclInfo->CurrentDecl)) in isClassOrStructOrTagTypedefDecl()
908 if (auto *ThisTypedefDecl = dyn_cast<TypedefDecl>(ThisDeclInfo->CurrentDecl)) { in isClassOrStructOrTagTypedefDecl()
928 return ThisDeclInfo->CurrentDecl && in isClassTemplateDecl()
929 (isa<ClassTemplateDecl>(ThisDeclInfo->CurrentDecl)); in isClassTemplateDecl()
937 return ThisDeclInfo->CurrentDecl && in isFunctionTemplateDecl()
938 (isa<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl)); in isFunctionTemplateDecl()
946 return ThisDeclInfo->CurrentDecl && in isObjCInterfaceDecl()
947 isa<ObjCInterfaceDecl>(ThisDeclInfo->CurrentDecl); in isObjCInterfaceDecl()
955 return ThisDeclInfo->CurrentDecl && in isObjCProtocolDecl()
956 isa<ObjCProtocolDecl>(ThisDeclInfo->CurrentDecl); in isObjCProtocolDecl()