Lines Matching refs:hasAttr
116 if (OldD->hasAttr<NoEscapeAttr>() && !NewD->hasAttr<NoEscapeAttr>()) { in diagnoseNoescape()
184 if ((NewMethod->hasAttr<NSReturnsRetainedAttr>() != in CheckObjCMethodOverride()
185 Overridden->hasAttr<NSReturnsRetainedAttr>())) { in CheckObjCMethodOverride()
193 if ((NewMethod->hasAttr<NSReturnsNotRetainedAttr>() != in CheckObjCMethodOverride()
194 Overridden->hasAttr<NSReturnsNotRetainedAttr>())) { in CheckObjCMethodOverride()
210 if (newDecl->hasAttr<NSConsumedAttr>() != in CheckObjCMethodOverride()
211 oldDecl->hasAttr<NSConsumedAttr>()) { in CheckObjCMethodOverride()
263 if (method->hasAttr<NSReturnsRetainedAttr>()) in CheckARCMethodDecl()
271 if (method->hasAttr<NSReturnsRetainedAttr>() || in CheckARCMethodDecl()
272 method->hasAttr<NSReturnsNotRetainedAttr>() || in CheckARCMethodDecl()
273 method->hasAttr<NSReturnsAutoreleasedAttr>()) in CheckARCMethodDecl()
493 (SuperMethod && SuperMethod->hasAttr<ObjCRequiresSuperAttr>()); in ActOnStartOfObjCMethodDef()
1938 if (IDecl && IDecl->hasAttr<ObjCRuntimeVisibleAttr>()) { in ActOnStartCategoryImplementation()
2087 IDecl->getSuperClass()->hasAttr<ObjCRuntimeVisibleAttr>()) { in ActOnStartClassImplementation()
2618 if (MethodDecl->hasAttr<UnavailableAttr>() || in WarnExactTypedMethods()
2619 MethodDecl->hasAttr<DeprecatedAttr>()) in WarnExactTypedMethods()
2660 if (PDecl->hasAttr<ObjCExplicitProtocolImplAttr>()) in findProtocolsWithExplicitImpls()
2709 if (PDecl->hasAttr<ObjCExplicitProtocolImplAttr>()) { in CheckProtocolMethodDefs()
3259 (left->hasAttr<NSReturnsRetainedAttr>() in MatchTwoMethodDeclarations()
3260 != right->hasAttr<NSReturnsRetainedAttr>() || in MatchTwoMethodDeclarations()
3261 left->hasAttr<NSConsumesSelfAttr>() in MatchTwoMethodDeclarations()
3262 != right->hasAttr<NSConsumesSelfAttr>())) in MatchTwoMethodDeclarations()
3277 lparm->hasAttr<NSConsumedAttr>() != rparm->hasAttr<NSConsumedAttr>()) in MatchTwoMethodDeclarations()
3543 if (M != BestMethod && !M->hasAttr<UnavailableAttr>()) in AreMultipleMethodsInGlobalPool()
4114 bool HasRootClassAttr = IDecl->hasAttr<ObjCRootClassAttr>(); in ActOnAtEnd()
4146 if (IDecl->hasAttr<ObjCSubclassingRestrictedAttr>() && in ActOnAtEnd()
4147 Super->hasAttr<ObjCSubclassingRestrictedAttr>()) { in ActOnAtEnd()
4153 if (IDecl->hasAttr<ObjCClassStubAttr>()) in ActOnAtEnd()
4178 if (!IntfDecl->hasAttr<ObjCSubclassingRestrictedAttr>() && in ActOnAtEnd()
4179 Super->hasAttr<ObjCSubclassingRestrictedAttr>()) { in ActOnAtEnd()
4185 if (IntfDecl->hasAttr<ObjCClassStubAttr>() && in ActOnAtEnd()
4186 !IntfDecl->hasAttr<ObjCSubclassingRestrictedAttr>()) in ActOnAtEnd()
4563 if (prevMethod->hasAttr<ObjCRequiresSuperAttr>() && in mergeInterfaceMethodToImpl()
4564 !method->hasAttr<ObjCRequiresSuperAttr>()) { in mergeInterfaceMethodToImpl()
4644 if (!Method->isDirectMethod() && !Method->hasAttr<UnavailableAttr>() && in mergeObjCDirectMembers()
4645 CD->hasAttr<ObjCDirectMembersAttr>()) { in mergeObjCDirectMembers()
4789 if (Param->hasAttr<BlocksAttr>()) { in ActOnMethodDeclaration()
5212 if (New->hasAttr<BlocksAttr>()) in ActOnObjCExceptionDecl()