Lines Matching refs:CurrentDecl
809 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isAnyFunctionDecl()
810 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); in isAnyFunctionDecl()
817 dyn_cast<FunctionDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
820 dyn_cast<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
823 dyn_cast<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl)) in isFunctionOrMethodVariadic()
829 return isFunctionDecl() && ThisDeclInfo->CurrentDecl && in isObjCMethodDecl()
830 isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl); in isObjCMethodDecl()
839 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) { in isFunctionPointerVarDecl()
852 return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty; in isObjCPropertyDecl()
878 dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl)) in isUnionDecl()
888 return ThisDeclInfo->CurrentDecl && in isClassOrStructDecl()
889 isa<RecordDecl>(ThisDeclInfo->CurrentDecl) && in isClassOrStructDecl()
898 return ThisDeclInfo->CurrentDecl && in isClassTemplateDecl()
899 (isa<ClassTemplateDecl>(ThisDeclInfo->CurrentDecl)); in isClassTemplateDecl()
907 return ThisDeclInfo->CurrentDecl && in isFunctionTemplateDecl()
908 (isa<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl)); in isFunctionTemplateDecl()
916 return ThisDeclInfo->CurrentDecl && in isObjCInterfaceDecl()
917 isa<ObjCInterfaceDecl>(ThisDeclInfo->CurrentDecl); in isObjCInterfaceDecl()
925 return ThisDeclInfo->CurrentDecl && in isObjCProtocolDecl()
926 isa<ObjCProtocolDecl>(ThisDeclInfo->CurrentDecl); in isObjCProtocolDecl()