Lines Matching refs:hasAttr
160 if ((NewMethod->hasAttr<NSReturnsRetainedAttr>() != in CheckObjCMethodOverride()
161 Overridden->hasAttr<NSReturnsRetainedAttr>())) { in CheckObjCMethodOverride()
167 if ((NewMethod->hasAttr<NSReturnsNotRetainedAttr>() != in CheckObjCMethodOverride()
168 Overridden->hasAttr<NSReturnsNotRetainedAttr>())) { in CheckObjCMethodOverride()
181 if (newDecl->hasAttr<NSConsumedAttr>() != in CheckObjCMethodOverride()
182 oldDecl->hasAttr<NSConsumedAttr>()) { in CheckObjCMethodOverride()
232 if (method->hasAttr<NSReturnsRetainedAttr>()) in CheckARCMethodDecl()
240 if (method->hasAttr<NSReturnsRetainedAttr>() || in CheckARCMethodDecl()
241 method->hasAttr<NSReturnsNotRetainedAttr>() || in CheckARCMethodDecl()
242 method->hasAttr<NSReturnsAutoreleasedAttr>()) in CheckARCMethodDecl()
423 (SuperMethod && SuperMethod->hasAttr<ObjCRequiresSuperAttr>()); in ActOnStartOfObjCMethodDef()
1609 if (MethodDecl->hasAttr<UnavailableAttr>() || in WarnExactTypedMethods()
1610 MethodDecl->hasAttr<DeprecatedAttr>()) in WarnExactTypedMethods()
1651 if (PDecl->hasAttr<ObjCExplicitProtocolImplAttr>()) in findProtocolsWithExplicitImpls()
1700 if (PDecl->hasAttr<ObjCExplicitProtocolImplAttr>()) { in CheckProtocolMethodDefs()
2195 (left->hasAttr<NSReturnsRetainedAttr>() in MatchTwoMethodDeclarations()
2196 != right->hasAttr<NSReturnsRetainedAttr>() || in MatchTwoMethodDeclarations()
2197 left->hasAttr<NSConsumesSelfAttr>() in MatchTwoMethodDeclarations()
2198 != right->hasAttr<NSConsumesSelfAttr>())) in MatchTwoMethodDeclarations()
2213 lparm->hasAttr<NSConsumedAttr>() != rparm->hasAttr<NSConsumedAttr>()) in MatchTwoMethodDeclarations()
2731 bool HasRootClassAttr = IDecl->hasAttr<ObjCRootClassAttr>(); in ActOnAtEnd()
3189 if (Param->hasAttr<BlocksAttr>()) { in ActOnMethodDeclaration()
3234 if (IMD && IMD->hasAttr<ObjCRequiresSuperAttr>() && in ActOnMethodDeclaration()
3235 !ObjCMethod->hasAttr<ObjCRequiresSuperAttr>()) { in ActOnMethodDeclaration()
3472 if (New->hasAttr<BlocksAttr>()) in ActOnObjCExceptionDecl()