• Home
  • Raw
  • Download

Lines Matching refs:hasAttr

161     if ((NewMethod->hasAttr<NSReturnsRetainedAttr>() !=  in CheckObjCMethodOverride()
162 Overridden->hasAttr<NSReturnsRetainedAttr>())) { in CheckObjCMethodOverride()
168 if ((NewMethod->hasAttr<NSReturnsNotRetainedAttr>() != in CheckObjCMethodOverride()
169 Overridden->hasAttr<NSReturnsNotRetainedAttr>())) { in CheckObjCMethodOverride()
182 if (newDecl->hasAttr<NSConsumedAttr>() != in CheckObjCMethodOverride()
183 oldDecl->hasAttr<NSConsumedAttr>()) { in CheckObjCMethodOverride()
233 if (method->hasAttr<NSReturnsRetainedAttr>()) in CheckARCMethodDecl()
241 if (method->hasAttr<NSReturnsRetainedAttr>() || in CheckARCMethodDecl()
242 method->hasAttr<NSReturnsNotRetainedAttr>() || in CheckARCMethodDecl()
243 method->hasAttr<NSReturnsAutoreleasedAttr>()) in CheckARCMethodDecl()
424 (SuperMethod && SuperMethod->hasAttr<ObjCRequiresSuperAttr>()); in ActOnStartOfObjCMethodDef()
2500 if (MethodDecl->hasAttr<UnavailableAttr>() || in WarnExactTypedMethods()
2501 MethodDecl->hasAttr<DeprecatedAttr>()) in WarnExactTypedMethods()
2542 if (PDecl->hasAttr<ObjCExplicitProtocolImplAttr>()) in findProtocolsWithExplicitImpls()
2591 if (PDecl->hasAttr<ObjCExplicitProtocolImplAttr>()) { in CheckProtocolMethodDefs()
3126 (left->hasAttr<NSReturnsRetainedAttr>() in MatchTwoMethodDeclarations()
3127 != right->hasAttr<NSReturnsRetainedAttr>() || in MatchTwoMethodDeclarations()
3128 left->hasAttr<NSConsumesSelfAttr>() in MatchTwoMethodDeclarations()
3129 != right->hasAttr<NSConsumesSelfAttr>())) in MatchTwoMethodDeclarations()
3144 lparm->hasAttr<NSConsumedAttr>() != rparm->hasAttr<NSConsumedAttr>()) in MatchTwoMethodDeclarations()
3296 if (!M->isHidden() && M != BestMethod && !M->hasAttr<UnavailableAttr>()) in AreMultipleMethodsInGlobalPool()
3680 bool HasRootClassAttr = IDecl->hasAttr<ObjCRootClassAttr>(); in ActOnAtEnd()
4092 if (prevMethod->hasAttr<ObjCRequiresSuperAttr>() && in mergeInterfaceMethodToImpl()
4093 !method->hasAttr<ObjCRequiresSuperAttr>()) { in mergeInterfaceMethodToImpl()
4221 if (Param->hasAttr<BlocksAttr>()) { in ActOnMethodDeclaration()
4502 if (New->hasAttr<BlocksAttr>()) in ActOnObjCExceptionDecl()