Lines Matching refs:diag
100 diag::err_arc_inconsistent_property_ownership) in checkARCPropertyDecl()
339 Diag(AtLoc, diag::err_duplicate_property); in HandlePropertyInClassExtension()
340 Diag(prevDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
371 Diag(CDecl->getLocation(), diag::err_continuation_class); in HandlePropertyInClassExtension()
418 diag::err_type_mismatch_continuation_class) << PDecl->getType(); in HandlePropertyInClassExtension()
419 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
435 Diag(AtLoc, diag::warn_property_attr_mismatch); in HandlePropertyInClassExtension()
436 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
448 Diag(AtLoc, diag::warn_property_implicitly_mismatched); in HandlePropertyInClassExtension()
449 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
503 unsigned diag = in HandlePropertyInClassExtension() local
506 ? diag::err_use_continuation_class_redeclaration_readwrite in HandlePropertyInClassExtension()
507 : diag::err_use_continuation_class; in HandlePropertyInClassExtension()
508 Diag(AtLoc, diag) in HandlePropertyInClassExtension()
510 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
551 Diag(AtLoc, diag::warn_implements_nscopying) << PropertyId; in CreatePropertyDecl()
557 Diag(FD.D.getIdentifierLoc(), diag::err_statically_allocated_object) in CreatePropertyDecl()
571 Diag(PDecl->getLocation(), diag::err_duplicate_property); in CreatePropertyDecl()
572 Diag(prevDecl->getLocation(), diag::note_property_declare); in CreatePropertyDecl()
582 Diag(AtLoc, diag::err_property_type) << T; in CreatePropertyDecl()
685 S.Diag(ivar->getLocation(), diag::err_arc_strong_property_ownership) in checkARCPropertyImpl()
692 S.Diag(ivar->getLocation(), diag::error_weak_property) in checkARCPropertyImpl()
698 S.Diag(ivar->getLocation(), diag::err_arc_assign_property_ownership) in checkARCPropertyImpl()
713 S.Diag(property->getLocation(), diag::note_property_declare); in checkARCPropertyImpl()
715 S.Diag(propertyImplLoc, diag::note_property_synthesize); in checkARCPropertyImpl()
782 S.Diag(Property->getLocation(), diag::warn_protocol_property_mismatch) in DiagnosePropertyMismatchDeclInProtocols()
786 S.Diag(Prop->getLocation(), diag::note_protocol_property_declare) in DiagnosePropertyMismatchDeclInProtocols()
792 S.Diag(AtLoc, diag::note_property_synthesize); in DiagnosePropertyMismatchDeclInProtocols()
810 Diag(AtLoc, diag::error_missing_property_context); in ActOnPropertyImplDecl()
834 Diag(PropertyLoc, diag::error_bad_property_decl) << IDecl->getDeclName(); in ActOnPropertyImplDecl()
841 Diag(AtLoc, diag::warn_implicit_atomic_property); in ActOnPropertyImplDecl()
843 Diag(IC->getLocation(), diag::warn_auto_implicit_atomic_property); in ActOnPropertyImplDecl()
844 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
850 Diag(PropertyLoc, diag::error_category_property) << CD->getDeclName(); in ActOnPropertyImplDecl()
851 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
875 Diag(property->getLocation(), diag::warn_auto_readonly_iboutlet_property) in ActOnPropertyImplDecl()
884 diag::note_auto_readonly_iboutlet_fixup_suggest) << in ActOnPropertyImplDecl()
894 Diag(AtLoc, diag::error_synthesize_category_decl); in ActOnPropertyImplDecl()
899 Diag(AtLoc, diag::error_missing_property_interface); in ActOnPropertyImplDecl()
912 Diag(PropertyLoc, diag::error_bad_category_property_decl) in ActOnPropertyImplDecl()
917 Diag(AtLoc, diag::error_bad_property_context); in ActOnPropertyImplDecl()
935 diag::err_incomplete_synthesized_property, in ActOnPropertyImplDecl()
937 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
956 Diag(PropertyDiagLoc, diag::err_gc_weak_property_strong_type); in ActOnPropertyImplDecl()
957 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
974 diag::warn_autosynthesis_property_ivar_match) in ActOnPropertyImplDecl()
977 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
978 Diag(originalIvar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
994 diag::err_arc_objc_property_default_assign_on_object); in ActOnPropertyImplDecl()
995 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1007 diag::err_arc_weak_unavailable_property) << PropertyIvarType; in ActOnPropertyImplDecl()
1008 Diag(ClassImpDecl->getLocation(), diag::note_implemented_by_class) in ActOnPropertyImplDecl()
1014 Diag(PropertyDiagLoc, diag::err_arc_weak_no_runtime); in ActOnPropertyImplDecl()
1015 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1028 Diag(PropertyDiagLoc, diag::error_synthesize_weak_non_arc_or_gc); in ActOnPropertyImplDecl()
1029 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1039 diag::err_abstract_type_in_decl, in ActOnPropertyImplDecl()
1041 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1049 Diag(PropertyDiagLoc, diag::error_missing_property_ivar_decl) in ActOnPropertyImplDecl()
1055 Diag(PropertyDiagLoc, diag::error_ivar_in_superclass_use) in ActOnPropertyImplDecl()
1058 Diag(Ivar->getLocation(), diag::note_previous_access_declaration) in ActOnPropertyImplDecl()
1080 Diag(PropertyDiagLoc, diag::error_property_ivar_type) in ActOnPropertyImplDecl()
1083 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1095 Diag(PropertyDiagLoc, diag::error_property_ivar_type) in ActOnPropertyImplDecl()
1098 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1105 Diag(PropertyDiagLoc, diag::error_weak_property) in ActOnPropertyImplDecl()
1107 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1114 Diag(PropertyDiagLoc, diag::error_strong_property) in ActOnPropertyImplDecl()
1123 Diag(PropertyDiagLoc, diag::error_dynamic_property_ivar_decl); in ActOnPropertyImplDecl()
1173 diag::warn_property_getter_owning_mismatch); in ActOnPropertyImplDecl()
1174 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1182 Diag(getterMethod->getLocation(), diag::err_arc_illegal_method_def) in ActOnPropertyImplDecl()
1225 diag::err_atomic_property_nontrivial_assign_op) in ActOnPropertyImplDecl()
1228 diag::note_callee_decl) << FuncDecl; in ActOnPropertyImplDecl()
1239 Diag(PropertyLoc, diag::error_duplicate_ivar_use) in ActOnPropertyImplDecl()
1242 Diag(PPIDecl->getLocation(), diag::note_previous_use); in ActOnPropertyImplDecl()
1247 Diag(PropertyLoc, diag::error_property_implemented) << PropertyId; in ActOnPropertyImplDecl()
1248 Diag(PPIDecl->getLocation(), diag::note_previous_declaration); in ActOnPropertyImplDecl()
1269 Diag(Ivar->getLocation(), diag::err_undeclared_var_use) in ActOnPropertyImplDecl()
1278 Diag(PropertyDiagLoc, diag::error_duplicate_ivar_use) in ActOnPropertyImplDecl()
1281 Diag(PPIDecl->getLocation(), diag::note_previous_use); in ActOnPropertyImplDecl()
1286 Diag(PropertyDiagLoc, diag::error_property_implemented) << PropertyId; in ActOnPropertyImplDecl()
1287 Diag(PPIDecl->getLocation(), diag::note_previous_declaration); in ActOnPropertyImplDecl()
1322 Diag(Property->getLocation(), diag::warn_readonly_property) in DiagnosePropertyMismatch()
1326 Diag(Property->getLocation(), diag::warn_property_attribute) in DiagnosePropertyMismatch()
1338 Diag(Property->getLocation(), diag::warn_property_attribute) in DiagnosePropertyMismatch()
1345 Diag(Property->getLocation(), diag::warn_property_attribute) in DiagnosePropertyMismatch()
1347 Diag(SuperProperty->getLocation(), diag::note_property_declare); in DiagnosePropertyMismatch()
1350 Diag(Property->getLocation(), diag::warn_property_attribute) in DiagnosePropertyMismatch()
1352 Diag(SuperProperty->getLocation(), diag::note_property_declare); in DiagnosePropertyMismatch()
1355 Diag(Property->getLocation(), diag::warn_property_attribute) in DiagnosePropertyMismatch()
1357 Diag(SuperProperty->getLocation(), diag::note_property_declare); in DiagnosePropertyMismatch()
1373 Diag(Property->getLocation(), diag::warn_property_types_are_incompatible) in DiagnosePropertyMismatch()
1375 Diag(SuperProperty->getLocation(), diag::note_property_declare); in DiagnosePropertyMismatch()
1397 Diag(Loc, diag::error_property_accessor_type) in DiagnosePropertyAccessorMismatch()
1400 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
1412 Diag(Loc, diag::warn_accessor_property_type_mismatch) in DiagnosePropertyAccessorMismatch()
1415 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
1555 Diag(Prop->getLocation(), diag::warn_no_autosynthesis_shared_ivar_property) in DefaultSynthesizeProperties()
1558 Diag(PID->getLocation(), diag::note_property_synthesize); in DefaultSynthesizeProperties()
1570 diag::warn_auto_synthesizing_protocol_property) in DefaultSynthesizeProperties()
1572 Diag(Prop->getLocation(), diag::note_property_declare); in DefaultSynthesizeProperties()
1583 Diag(Prop->getLocation(), diag::warn_no_autosynthesis_property) in DefaultSynthesizeProperties()
1585 Diag(PropInSuperClass->getLocation(), diag::note_property_declare); in DefaultSynthesizeProperties()
1588 Diag(Prop->getLocation(), diag::warn_autosynthesis_property_in_superclass) in DefaultSynthesizeProperties()
1590 Diag(PropInSuperClass->getLocation(), diag::note_property_declare); in DefaultSynthesizeProperties()
1591 Diag(IMPDecl->getLocation(), diag::note_while_in_implementation); in DefaultSynthesizeProperties()
1606 Diag(Prop->getLocation(), diag::warn_missing_explicit_synthesis); in DefaultSynthesizeProperties()
1607 Diag(IMPDecl->getLocation(), diag::note_while_in_implementation); in DefaultSynthesizeProperties()
1640 diag::warn_setter_getter_impl_required_in_category : in DiagnoseUnimplementedAccessor()
1641 diag::warn_setter_getter_impl_required) in DiagnoseUnimplementedAccessor()
1644 diag::note_property_declare); in DiagnoseUnimplementedAccessor()
1649 S.Diag(RID->getLocation(), diag::note_suppressed_class_declare); in DiagnoseUnimplementedAccessor()
1777 diag::warn_default_atomic_custom_getter_setter) in AtomicPropertySetterGetterRules()
1779 Diag(Property->getLocation(), diag::note_property_declare); in AtomicPropertySetterGetterRules()
1783 diag::warn_default_atomic_custom_getter_setter) in AtomicPropertySetterGetterRules()
1785 Diag(Property->getLocation(), diag::note_property_declare); in AtomicPropertySetterGetterRules()
1805 Diag(MethodLoc, diag::warn_atomic_property_rule) in AtomicPropertySetterGetterRules()
1814 Diag(Property->getLocation(), diag::note_atomic_property_fixup_suggest) << in AtomicPropertySetterGetterRules()
1823 Diag(Property->getLocation(), diag::note_atomic_property_fixup_suggest) << in AtomicPropertySetterGetterRules()
1831 Diag(Property->getLocation(), diag::note_atomic_property_fixup_suggest) << in AtomicPropertySetterGetterRules()
1835 Diag(MethodLoc, diag::note_atomic_property_fixup_suggest); in AtomicPropertySetterGetterRules()
1836 Diag(Property->getLocation(), diag::note_property_declare); in AtomicPropertySetterGetterRules()
1857 Diag(PD->getLocation(), diag::err_cocoa_naming_owned_rule); in DiagnoseOwningPropertyGetterSynthesis()
1859 Diag(PD->getLocation(), diag::warn_cocoa_naming_owned_rule); in DiagnoseOwningPropertyGetterSynthesis()
1886 auto noteDiag = Diag(noteLoc, diag::note_cocoa_naming_declare_family) in DiagnoseOwningPropertyGetterSynthesis()
1918 diag::warn_objc_implementation_missing_designated_init_override) in DiagnoseMissingDesignatedInitOverrides()
1920 Diag(MD->getLocation(), diag::note_objc_designated_init_marked_here); in DiagnoseMissingDesignatedInitOverrides()
1964 Diag(SetterMethod->getLocation(), diag::err_setter_type_void); in ProcessPropertyDecl()
1970 diag::warn_accessor_property_type_mismatch) in ProcessPropertyDecl()
1973 Diag(SetterMethod->getLocation(), diag::note_declared_at); in ProcessPropertyDecl()
2126 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2146 Diag(Loc, diag::err_objc_property_requires_object) in CheckObjCPropertyAttributes()
2157 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2162 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2167 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2173 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2178 Diag(Loc, diag::warn_iboutletcollection_property_assign); in CheckObjCPropertyAttributes()
2181 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2186 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2191 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2197 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2203 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2208 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2213 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2220 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2226 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2233 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2262 Diag(Loc, diag::warn_objc_property_no_assignment_attribute); in CheckObjCPropertyAttributes()
2266 Diag(Loc, diag::warn_objc_property_default_assign_on_object); in CheckObjCPropertyAttributes()
2280 Diag(Loc, diag::warn_objc_property_copy_missing_on_block); in CheckObjCPropertyAttributes()
2285 Diag(Loc, diag::warn_objc_property_retain_of_block); in CheckObjCPropertyAttributes()
2289 Diag(Loc, diag::warn_objc_readonly_property_has_setter); in CheckObjCPropertyAttributes()