reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
4969 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) { 4971 } else if (S.getLangOpts().ObjCAutoRefCount && hasDeclarator(D) && 4974 } else if (const auto *PD = dyn_cast<ObjCPropertyDecl>(D)) { 4976 } else if (const auto *FD = dyn_cast<FunctionDecl>(D)) { 4978 } else if (const auto *Param = dyn_cast<ParmVarDecl>(D)) { 4986 S.Diag(D->getBeginLoc(), diag::warn_ns_attribute_wrong_parameter_type) 5009 S.Diag(D->getBeginLoc(), diag::warn_attribute_wrong_decl_type) 5048 if (isa<ParmVarDecl>(D)) { 5049 S.Diag(D->getBeginLoc(), diag::warn_ns_attribute_wrong_parameter_type) 5058 if (isa<ObjCMethodDecl>(D)) 5060 else if (isa<ObjCPropertyDecl>(D)) 5062 S.Diag(D->getBeginLoc(), diag::warn_ns_attribute_wrong_return_type) 5072 handleSimpleAttribute<NSReturnsAutoreleasedAttr>(S, D, AL); 5075 handleSimpleAttribute<CFReturnsNotRetainedAttr>(S, D, AL); 5078 handleSimpleAttribute<NSReturnsNotRetainedAttr>(S, D, AL); 5081 handleSimpleAttribute<CFReturnsRetainedAttr>(S, D, AL); 5084 handleSimpleAttribute<NSReturnsRetainedAttr>(S, D, AL); 5087 handleSimpleAttribute<OSReturnsRetainedAttr>(S, D, AL); 5090 handleSimpleAttribute<OSReturnsNotRetainedAttr>(S, D, AL);