• Home
  • Raw
  • Download

Lines Matching refs:Qualifiers

39 static Qualifiers::ObjCLifetime getImpliedARCOwnership(  in getImpliedARCOwnership()
47 return Qualifiers::OCL_Strong; in getImpliedARCOwnership()
49 return Qualifiers::OCL_Weak; in getImpliedARCOwnership()
51 return Qualifiers::OCL_ExplicitNone; in getImpliedARCOwnership()
58 return Qualifiers::OCL_ExplicitNone; in getImpliedARCOwnership()
61 return Qualifiers::OCL_None; in getImpliedARCOwnership()
72 Qualifiers::ObjCLifetime propertyLifetime in checkPropertyDeclWithOwnership()
75 assert(propertyLifetime != Qualifiers::OCL_None); in checkPropertyDeclWithOwnership()
77 Qualifiers::ObjCLifetime expectedLifetime in checkPropertyDeclWithOwnership()
85 if (propertyLifetime == Qualifiers::OCL_Strong) { in checkPropertyDeclWithOwnership()
87 } else if (propertyLifetime == Qualifiers::OCL_Weak) { in checkPropertyDeclWithOwnership()
90 assert(propertyLifetime == Qualifiers::OCL_ExplicitNone); in checkPropertyDeclWithOwnership()
140 case Qualifiers::OCL_Weak: in deducePropertyOwnershipFromType()
142 case Qualifiers::OCL_Strong: in deducePropertyOwnershipFromType()
144 case Qualifiers::OCL_ExplicitNone: in deducePropertyOwnershipFromType()
146 case Qualifiers::OCL_Autoreleasing: in deducePropertyOwnershipFromType()
147 case Qualifiers::OCL_None: in deducePropertyOwnershipFromType()
506 PIDecl->getType().getObjCLifetime() == Qualifiers::OCL_None) { in HandlePropertyInClassExtension()
713 Qualifiers::ObjCLifetime ivarLifetime = ivarType.getObjCLifetime(); in checkARCPropertyImpl()
716 Qualifiers::ObjCLifetime propertyLifetime = in checkARCPropertyImpl()
725 if ((ivarLifetime == Qualifiers::OCL_None && in checkARCPropertyImpl()
727 ivarLifetime == Qualifiers::OCL_Autoreleasing) in checkARCPropertyImpl()
734 if (ivarLifetime == Qualifiers::OCL_ExplicitNone && in checkARCPropertyImpl()
735 propertyLifetime == Qualifiers::OCL_Strong && in checkARCPropertyImpl()
740 split.Quals.setObjCLifetime(Qualifiers::OCL_Strong); in checkARCPropertyImpl()
748 case Qualifiers::OCL_Strong: in checkARCPropertyImpl()
755 case Qualifiers::OCL_Weak: in checkARCPropertyImpl()
761 case Qualifiers::OCL_ExplicitNone: in checkARCPropertyImpl()
769 case Qualifiers::OCL_Autoreleasing: in checkARCPropertyImpl()
772 case Qualifiers::OCL_None: in checkARCPropertyImpl()
789 Qualifiers::ObjCLifetime propertyLifetime = in setImpliedPropertyAttributeForReadOnlyProperty()
792 if (propertyLifetime != Qualifiers::OCL_None) in setImpliedPropertyAttributeForReadOnlyProperty()
802 Qualifiers::ObjCLifetime ivarLifetime = ivarType.getObjCLifetime(); in setImpliedPropertyAttributeForReadOnlyProperty()
803 if (ivarLifetime == Qualifiers::OCL_Strong) in setImpliedPropertyAttributeForReadOnlyProperty()
805 else if (ivarLifetime == Qualifiers::OCL_Weak) in setImpliedPropertyAttributeForReadOnlyProperty()
1062 Context.getObjCGCQualType(PropertyIvarType, Qualifiers::Weak); in ActOnPropertyImplDecl()
1129 Qualifiers::ObjCLifetime lifetime = in ActOnPropertyImplDecl()
1133 Qualifiers qs; in ActOnPropertyImplDecl()