Searched refs:WhichType (Results 1 – 2 of 2) sorted by relevance
67 TypeDiagSelector WhichType; in diagnoseBadTypeAttribute() local70 case AttributeList::AT_ObjCGC: WhichType = TDS_Pointer; break; in diagnoseBadTypeAttribute()71 case AttributeList::AT_ObjCOwnership: WhichType = TDS_ObjCObjOrBlock; break; in diagnoseBadTypeAttribute()74 WhichType = TDS_Function; in diagnoseBadTypeAttribute()93 S.Diag(loc, diag::warn_type_attribute_wrong_type) << name << WhichType in diagnoseBadTypeAttribute()
71 TypeDiagSelector WhichType; in diagnoseBadTypeAttribute() local75 WhichType = TDS_Pointer; in diagnoseBadTypeAttribute()78 WhichType = TDS_ObjCObjOrBlock; in diagnoseBadTypeAttribute()82 WhichType = TDS_Function; in diagnoseBadTypeAttribute()101 S.Diag(loc, diag::warn_type_attribute_wrong_type) << name << WhichType in diagnoseBadTypeAttribute()