Lines Matching refs:hasAttr

121   if (OldD->hasAttr<NoEscapeAttr>() && !NewD->hasAttr<NoEscapeAttr>()) {  in diagnoseNoescape()
190 if ((NewMethod->hasAttr<NSReturnsRetainedAttr>() != in CheckObjCMethodOverride()
191 Overridden->hasAttr<NSReturnsRetainedAttr>())) { in CheckObjCMethodOverride()
199 if ((NewMethod->hasAttr<NSReturnsNotRetainedAttr>() != in CheckObjCMethodOverride()
200 Overridden->hasAttr<NSReturnsNotRetainedAttr>())) { in CheckObjCMethodOverride()
216 if (newDecl->hasAttr<NSConsumedAttr>() != in CheckObjCMethodOverride()
217 oldDecl->hasAttr<NSConsumedAttr>()) { in CheckObjCMethodOverride()
270 if (method->hasAttr<NSReturnsRetainedAttr>()) in CheckARCMethodDecl()
278 if (method->hasAttr<NSReturnsRetainedAttr>() || in CheckARCMethodDecl()
279 method->hasAttr<NSReturnsNotRetainedAttr>() || in CheckARCMethodDecl()
280 method->hasAttr<NSReturnsAutoreleasedAttr>()) in CheckARCMethodDecl()
501 (SuperMethod && SuperMethod->hasAttr<ObjCRequiresSuperAttr>()); in ActOnStartOfObjCMethodDef()
1954 if (IDecl && IDecl->hasAttr<ObjCRuntimeVisibleAttr>()) { in ActOnStartCategoryImplementation()
2106 IDecl->getSuperClass()->hasAttr<ObjCRuntimeVisibleAttr>()) { in ActOnStartClassImplementation()
2647 if (MethodDecl->hasAttr<UnavailableAttr>() || in WarnExactTypedMethods()
2648 MethodDecl->hasAttr<DeprecatedAttr>()) in WarnExactTypedMethods()
2688 if (PDecl->hasAttr<ObjCExplicitProtocolImplAttr>()) in findProtocolsWithExplicitImpls()
2733 if (PDecl->hasAttr<ObjCExplicitProtocolImplAttr>()) { in CheckProtocolMethodDefs()
3275 (left->hasAttr<NSReturnsRetainedAttr>() in MatchTwoMethodDeclarations()
3276 != right->hasAttr<NSReturnsRetainedAttr>() || in MatchTwoMethodDeclarations()
3277 left->hasAttr<NSConsumesSelfAttr>() in MatchTwoMethodDeclarations()
3278 != right->hasAttr<NSConsumesSelfAttr>())) in MatchTwoMethodDeclarations()
3293 lparm->hasAttr<NSConsumedAttr>() != rparm->hasAttr<NSConsumedAttr>()) in MatchTwoMethodDeclarations()
3560 if (M != BestMethod && !M->hasAttr<UnavailableAttr>()) in AreMultipleMethodsInGlobalPool()
4135 bool HasRootClassAttr = IDecl->hasAttr<ObjCRootClassAttr>(); in ActOnAtEnd()
4167 if (IDecl->hasAttr<ObjCSubclassingRestrictedAttr>() && in ActOnAtEnd()
4168 Super->hasAttr<ObjCSubclassingRestrictedAttr>()) { in ActOnAtEnd()
4174 if (IDecl->hasAttr<ObjCClassStubAttr>()) in ActOnAtEnd()
4199 if (!IntfDecl->hasAttr<ObjCSubclassingRestrictedAttr>() && in ActOnAtEnd()
4200 Super->hasAttr<ObjCSubclassingRestrictedAttr>()) { in ActOnAtEnd()
4206 if (IntfDecl->hasAttr<ObjCClassStubAttr>() && in ActOnAtEnd()
4207 !IntfDecl->hasAttr<ObjCSubclassingRestrictedAttr>()) in ActOnAtEnd()
4592 if (prevMethod->hasAttr<ObjCRequiresSuperAttr>() && in mergeInterfaceMethodToImpl()
4593 !method->hasAttr<ObjCRequiresSuperAttr>()) { in mergeInterfaceMethodToImpl()
4673 if (!Method->isDirectMethod() && !Method->hasAttr<UnavailableAttr>() && in mergeObjCDirectMembers()
4674 CD->hasAttr<ObjCDirectMembersAttr>()) { in mergeObjCDirectMembers()
4823 if (Param->hasAttr<BlocksAttr>()) { in ActOnMethodDeclaration()
5253 if (New->hasAttr<BlocksAttr>()) in ActOnObjCExceptionDecl()
5459 if (var->hasAttr<BlocksAttr>()) in inferObjCARCLifetime()