Lines Matching refs:ObjCDeclSpec

736       ObjCDeclSpec OCDS;  in ParseObjCInterfaceDeclList()
759 if (OCDS.getPropertyAttributes() & ObjCDeclSpec::DQ_PR_nullability) in ParseObjCInterfaceDeclList()
816 ObjCDeclSpec &DS, in diagnoseRedundantPropertyNullability()
857 void Parser::ParseObjCPropertyAttribute(ObjCDeclSpec &DS) { in ParseObjCPropertyAttribute()
878 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_readonly); in ParseObjCPropertyAttribute()
880 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_assign); in ParseObjCPropertyAttribute()
882 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_unsafe_unretained); in ParseObjCPropertyAttribute()
884 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_readwrite); in ParseObjCPropertyAttribute()
886 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_retain); in ParseObjCPropertyAttribute()
888 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_strong); in ParseObjCPropertyAttribute()
890 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_copy); in ParseObjCPropertyAttribute()
892 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_nonatomic); in ParseObjCPropertyAttribute()
894 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_atomic); in ParseObjCPropertyAttribute()
896 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_weak); in ParseObjCPropertyAttribute()
928 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_setter); in ParseObjCPropertyAttribute()
937 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_getter); in ParseObjCPropertyAttribute()
941 if (DS.getPropertyAttributes() & ObjCDeclSpec::DQ_PR_nullability) in ParseObjCPropertyAttribute()
945 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_nullability); in ParseObjCPropertyAttribute()
948 if (DS.getPropertyAttributes() & ObjCDeclSpec::DQ_PR_nullability) in ParseObjCPropertyAttribute()
952 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_nullability); in ParseObjCPropertyAttribute()
955 if (DS.getPropertyAttributes() & ObjCDeclSpec::DQ_PR_nullability) in ParseObjCPropertyAttribute()
959 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_nullability); in ParseObjCPropertyAttribute()
962 if (DS.getPropertyAttributes() & ObjCDeclSpec::DQ_PR_nullability) in ParseObjCPropertyAttribute()
966 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_nullability); in ParseObjCPropertyAttribute()
970 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_null_resettable); in ParseObjCPropertyAttribute()
972 DS.setPropertyAttributes(ObjCDeclSpec::DQ_PR_class); in ParseObjCPropertyAttribute()
1150 void Parser::ParseObjCTypeQualifierList(ObjCDeclSpec &DS, in ParseObjCTypeQualifierList()
1172 ObjCDeclSpec::ObjCDeclQualifier Qual; in ParseObjCTypeQualifierList()
1176 case objc_in: Qual = ObjCDeclSpec::DQ_In; break; in ParseObjCTypeQualifierList()
1177 case objc_out: Qual = ObjCDeclSpec::DQ_Out; break; in ParseObjCTypeQualifierList()
1178 case objc_inout: Qual = ObjCDeclSpec::DQ_Inout; break; in ParseObjCTypeQualifierList()
1179 case objc_oneway: Qual = ObjCDeclSpec::DQ_Oneway; break; in ParseObjCTypeQualifierList()
1180 case objc_bycopy: Qual = ObjCDeclSpec::DQ_Bycopy; break; in ParseObjCTypeQualifierList()
1181 case objc_byref: Qual = ObjCDeclSpec::DQ_Byref; break; in ParseObjCTypeQualifierList()
1184 Qual = ObjCDeclSpec::DQ_CSNullability; in ParseObjCTypeQualifierList()
1189 Qual = ObjCDeclSpec::DQ_CSNullability; in ParseObjCTypeQualifierList()
1194 Qual = ObjCDeclSpec::DQ_CSNullability; in ParseObjCTypeQualifierList()
1201 if (Qual == ObjCDeclSpec::DQ_CSNullability) in ParseObjCTypeQualifierList()
1252 ParsedType Parser::ParseObjCTypeName(ObjCDeclSpec &DS, in ParseObjCTypeName()
1287 if (DS.getObjCDeclQualifier() & ObjCDeclSpec::DQ_CSNullability) in ParseObjCTypeName()
1361 ObjCDeclSpec DSRet; in ParseObjCMethodDecl()