Lines Matching refs:diag

98          diag::err_arc_inconsistent_property_ownership)  in checkPropertyDeclWithOwnership()
398 S.Diag(NewProperty->getLocation(), diag::warn_property_attribute) in checkAtomicPropertyMismatch()
401 S.Diag(OldProperty->getLocation(), diag::note_property_declare); in checkAtomicPropertyMismatch()
428 Diag(CDecl->getLocation(), diag::err_continuation_class); in HandlePropertyInClassExtension()
443 Diag(AtLoc, diag::err_duplicate_property); in HandlePropertyInClassExtension()
444 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
458 unsigned diag = in HandlePropertyInClassExtension() local
462 ? diag::err_use_continuation_class_redeclaration_readwrite in HandlePropertyInClassExtension()
463 : diag::err_use_continuation_class; in HandlePropertyInClassExtension()
464 Diag(AtLoc, diag) in HandlePropertyInClassExtension()
466 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
474 Diag(AtLoc, diag::warn_property_redecl_getter_mismatch) in HandlePropertyInClassExtension()
476 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
491 Diag(AtLoc, diag::warn_property_attr_mismatch); in HandlePropertyInClassExtension()
492 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
505 Diag(AtLoc, diag::warn_property_implicitly_mismatched); in HandlePropertyInClassExtension()
506 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
543 diag::err_type_mismatch_continuation_class) << PDecl->getType(); in HandlePropertyInClassExtension()
544 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
600 Diag(AtLoc, diag::warn_implements_nscopying) << PropertyId; in CreatePropertyDecl()
607 Diag(FD.D.getIdentifierLoc(), diag::err_statically_allocated_object) in CreatePropertyDecl()
626 Diag(PDecl->getLocation(), diag::err_duplicate_property); in CreatePropertyDecl()
627 Diag(prevDecl->getLocation(), diag::note_property_declare); in CreatePropertyDecl()
637 Diag(AtLoc, diag::err_property_type) << T; in CreatePropertyDecl()
709 Diag(PDecl->getLocation(), diag::err_objc_direct_on_protocol) << true; in CreatePropertyDecl()
713 Diag(PDecl->getLocation(), diag::warn_objc_direct_property_ignored) in CreatePropertyDecl()
763 S.Diag(ivar->getLocation(), diag::err_arc_strong_property_ownership) in checkARCPropertyImpl()
770 S.Diag(ivar->getLocation(), diag::err_weak_property) in checkARCPropertyImpl()
776 S.Diag(ivar->getLocation(), diag::err_arc_assign_property_ownership) in checkARCPropertyImpl()
790 S.Diag(property->getLocation(), diag::note_property_declare); in checkARCPropertyImpl()
792 S.Diag(propertyImplLoc, diag::note_property_synthesize); in checkARCPropertyImpl()
968 ? diag::err_protocol_property_mismatch in SelectPropertyForSynthesisFromProtocols()
969 : diag::warn_protocol_property_mismatch); in SelectPropertyForSynthesisFromProtocols()
989 S.Diag(Note.Prop->getLocation(), diag::note_protocol_property_declare) in SelectPropertyForSynthesisFromProtocols()
1008 S.Diag(AtLoc, diag::note_property_synthesize); in SelectPropertyForSynthesisFromProtocols()
1089 Diag(AtLoc, diag::err_missing_property_context); in ActOnPropertyImplDecl()
1113 Diag(PropertyLoc, diag::err_bad_property_decl) << IDecl->getDeclName(); in ActOnPropertyImplDecl()
1117 Diag(PropertyLoc, diag::err_synthesize_on_class_property) << PropertyId; in ActOnPropertyImplDecl()
1124 Diag(AtLoc, diag::warn_implicit_atomic_property); in ActOnPropertyImplDecl()
1126 Diag(IC->getLocation(), diag::warn_auto_implicit_atomic_property); in ActOnPropertyImplDecl()
1127 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1133 Diag(PropertyLoc, diag::err_category_property) << CD->getDeclName(); in ActOnPropertyImplDecl()
1134 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1155 Diag(property->getLocation(), diag::warn_auto_readonly_iboutlet_property) in ActOnPropertyImplDecl()
1164 diag::note_auto_readonly_iboutlet_fixup_suggest) << in ActOnPropertyImplDecl()
1175 Diag(AtLoc, diag::err_synthesize_category_decl); in ActOnPropertyImplDecl()
1180 Diag(AtLoc, diag::err_missing_property_interface); in ActOnPropertyImplDecl()
1193 Diag(PropertyLoc, diag::err_bad_category_property_decl) in ActOnPropertyImplDecl()
1198 Diag(AtLoc, diag::err_bad_property_context); in ActOnPropertyImplDecl()
1216 diag::err_incomplete_synthesized_property, in ActOnPropertyImplDecl()
1218 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1237 Diag(PropertyDiagLoc, diag::err_gc_weak_property_strong_type); in ActOnPropertyImplDecl()
1238 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1252 ? diag::err_synthesizing_arc_weak_property_disabled in ActOnPropertyImplDecl()
1253 : diag::err_synthesizing_arc_weak_property_no_runtime); in ActOnPropertyImplDecl()
1254 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1264 diag::err_arc_weak_unavailable_property) in ActOnPropertyImplDecl()
1266 Diag(ClassImpDecl->getLocation(), diag::note_implemented_by_class) in ActOnPropertyImplDecl()
1285 diag::warn_autosynthesis_property_ivar_match) in ActOnPropertyImplDecl()
1288 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1289 Diag(originalIvar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1305 diag::err_arc_objc_property_default_assign_on_object); in ActOnPropertyImplDecl()
1306 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1325 diag::err_abstract_type_in_decl, in ActOnPropertyImplDecl()
1327 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1334 Diag(PropertyIvarLoc, diag::err_synthesize_variable_sized_ivar) in ActOnPropertyImplDecl()
1345 Diag(PropertyDiagLoc, diag::err_missing_property_ivar_decl) in ActOnPropertyImplDecl()
1351 Diag(PropertyDiagLoc, diag::err_ivar_in_superclass_use) in ActOnPropertyImplDecl()
1354 Diag(Ivar->getLocation(), diag::note_previous_access_declaration) in ActOnPropertyImplDecl()
1376 Diag(PropertyDiagLoc, diag::err_property_ivar_type) in ActOnPropertyImplDecl()
1379 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1391 Diag(PropertyDiagLoc, diag::err_property_ivar_type) in ActOnPropertyImplDecl()
1394 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1401 Diag(PropertyDiagLoc, diag::err_weak_property) in ActOnPropertyImplDecl()
1403 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1410 Diag(PropertyDiagLoc, diag::err_strong_property) in ActOnPropertyImplDecl()
1420 Diag(PropertyDiagLoc, diag::err_dynamic_property_ivar_decl); in ActOnPropertyImplDecl()
1482 diag::warn_property_getter_owning_mismatch); in ActOnPropertyImplDecl()
1483 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1491 Diag(getterMethod->getLocation(), diag::err_arc_illegal_method_def) in ActOnPropertyImplDecl()
1547 diag::err_atomic_property_nontrivial_assign_op) in ActOnPropertyImplDecl()
1549 Diag(FuncDecl->getBeginLoc(), diag::note_callee_decl) in ActOnPropertyImplDecl()
1561 Diag(PropertyLoc, diag::err_duplicate_ivar_use) in ActOnPropertyImplDecl()
1564 Diag(PPIDecl->getLocation(), diag::note_previous_use); in ActOnPropertyImplDecl()
1569 Diag(PropertyLoc, diag::err_property_implemented) << PropertyId; in ActOnPropertyImplDecl()
1570 Diag(PPIDecl->getLocation(), diag::note_previous_declaration); in ActOnPropertyImplDecl()
1591 Diag(Ivar->getLocation(), diag::err_undeclared_var_use) in ActOnPropertyImplDecl()
1600 Diag(PropertyDiagLoc, diag::err_duplicate_ivar_use) in ActOnPropertyImplDecl()
1603 Diag(PPIDecl->getLocation(), diag::note_previous_use); in ActOnPropertyImplDecl()
1608 Diag(PropertyDiagLoc, diag::err_property_implemented) << PropertyId; in ActOnPropertyImplDecl()
1609 Diag(PPIDecl->getLocation(), diag::note_previous_declaration); in ActOnPropertyImplDecl()
1618 Diag(PropertyLoc, diag::err_objc_direct_dynamic_property); in ActOnPropertyImplDecl()
1620 diag::note_previous_declaration); in ActOnPropertyImplDecl()
1651 Diag(Property->getLocation(), diag::warn_readonly_property) in DiagnosePropertyMismatch()
1655 Diag(Property->getLocation(), diag::warn_property_attribute) in DiagnosePropertyMismatch()
1665 Diag(Property->getLocation(), diag::warn_property_attribute) in DiagnosePropertyMismatch()
1679 Diag(Property->getLocation(), diag::warn_property_attribute) in DiagnosePropertyMismatch()
1681 Diag(SuperProperty->getLocation(), diag::note_property_declare); in DiagnosePropertyMismatch()
1684 Diag(Property->getLocation(), diag::warn_property_attribute) in DiagnosePropertyMismatch()
1686 Diag(SuperProperty->getLocation(), diag::note_property_declare); in DiagnosePropertyMismatch()
1702 Diag(Property->getLocation(), diag::warn_property_types_are_incompatible) in DiagnosePropertyMismatch()
1704 Diag(SuperProperty->getLocation(), diag::note_property_declare); in DiagnosePropertyMismatch()
1727 Diag(Loc, diag::err_property_accessor_type) in DiagnosePropertyAccessorMismatch()
1730 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
1742 Diag(Loc, diag::warn_accessor_property_type_mismatch) in DiagnosePropertyAccessorMismatch()
1745 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
1920 Diag(Prop->getLocation(), diag::warn_no_autosynthesis_shared_ivar_property) in DefaultSynthesizeProperties()
1923 Diag(PID->getLocation(), diag::note_property_synthesize); in DefaultSynthesizeProperties()
1937 diag::warn_auto_synthesizing_protocol_property) in DefaultSynthesizeProperties()
1939 Diag(Prop->getLocation(), diag::note_property_declare); in DefaultSynthesizeProperties()
1942 Diag(AtEnd, diag::note_add_synthesize_directive) in DefaultSynthesizeProperties()
1955 Diag(Prop->getLocation(), diag::warn_no_autosynthesis_property) in DefaultSynthesizeProperties()
1957 Diag(PropInSuperClass->getLocation(), diag::note_property_declare); in DefaultSynthesizeProperties()
1959 Diag(Prop->getLocation(), diag::warn_autosynthesis_property_in_superclass) in DefaultSynthesizeProperties()
1961 Diag(PropInSuperClass->getLocation(), diag::note_property_declare); in DefaultSynthesizeProperties()
1962 Diag(IMPDecl->getLocation(), diag::note_while_in_implementation); in DefaultSynthesizeProperties()
1977 Diag(Prop->getLocation(), diag::warn_missing_explicit_synthesis); in DefaultSynthesizeProperties()
1978 Diag(IMPDecl->getLocation(), diag::note_while_in_implementation); in DefaultSynthesizeProperties()
2014 unsigned diag = in DiagnoseUnimplementedAccessor() local
2017 ? diag::warn_impl_required_in_category_for_class_property in DiagnoseUnimplementedAccessor()
2018 : diag::warn_setter_getter_impl_required_in_category) in DiagnoseUnimplementedAccessor()
2020 ? diag::warn_impl_required_for_class_property in DiagnoseUnimplementedAccessor()
2021 : diag::warn_setter_getter_impl_required); in DiagnoseUnimplementedAccessor()
2022 S.Diag(IMPDecl->getLocation(), diag) << Prop->getDeclName() << Method; in DiagnoseUnimplementedAccessor()
2023 S.Diag(Prop->getLocation(), diag::note_property_declare); in DiagnoseUnimplementedAccessor()
2028 S.Diag(RID->getLocation(), diag::note_suppressed_class_declare); in DiagnoseUnimplementedAccessor()
2158 Diag(loc, diag::warn_null_resettable_setter) in diagnoseNullResettableSynthesizedSetters()
2201 diag::warn_default_atomic_custom_getter_setter) in AtomicPropertySetterGetterRules()
2203 Diag(Property->getLocation(), diag::note_property_declare); in AtomicPropertySetterGetterRules()
2207 diag::warn_default_atomic_custom_getter_setter) in AtomicPropertySetterGetterRules()
2209 Diag(Property->getLocation(), diag::note_property_declare); in AtomicPropertySetterGetterRules()
2231 Diag(MethodLoc, diag::warn_atomic_property_rule) in AtomicPropertySetterGetterRules()
2243 diag::note_atomic_property_fixup_suggest) in AtomicPropertySetterGetterRules()
2250 diag::note_atomic_property_fixup_suggest) in AtomicPropertySetterGetterRules()
2253 Diag(MethodLoc, diag::note_atomic_property_fixup_suggest); in AtomicPropertySetterGetterRules()
2254 Diag(Property->getLocation(), diag::note_property_declare); in AtomicPropertySetterGetterRules()
2278 Diag(PD->getLocation(), diag::err_cocoa_naming_owned_rule); in DiagnoseOwningPropertyGetterSynthesis()
2280 Diag(PD->getLocation(), diag::warn_cocoa_naming_owned_rule); in DiagnoseOwningPropertyGetterSynthesis()
2307 auto noteDiag = Diag(noteLoc, diag::note_cocoa_naming_declare_family) in DiagnoseOwningPropertyGetterSynthesis()
2353 diag::warn_objc_implementation_missing_designated_init_override) in DiagnoseMissingDesignatedInitOverrides()
2355 Diag(MD->getLocation(), diag::note_objc_designated_init_marked_here); in DiagnoseMissingDesignatedInitOverrides()
2420 Diag(property->getLocation(), diag::err_objc_direct_duplicate_decl) in ProcessPropertyDecl()
2424 Diag(ExistingGetter->getLocation(), diag::note_previous_declaration); in ProcessPropertyDecl()
2436 Diag(property->getLocation(), diag::err_objc_direct_duplicate_decl) in ProcessPropertyDecl()
2440 Diag(ExistingSetter->getLocation(), diag::note_previous_declaration); in ProcessPropertyDecl()
2449 Diag(SetterMethod->getLocation(), diag::err_setter_type_void); in ProcessPropertyDecl()
2455 diag::warn_accessor_property_type_mismatch) in ProcessPropertyDecl()
2458 Diag(SetterMethod->getLocation(), diag::note_declared_at); in ProcessPropertyDecl()
2649 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2662 Diag(Loc, diag::err_objc_property_requires_object) in CheckObjCPropertyAttributes()
2680 Diag(Loc, diag::warn_objc_property_assign_on_object); in CheckObjCPropertyAttributes()
2686 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2691 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2696 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2702 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2707 Diag(Loc, diag::warn_iboutletcollection_property_assign); in CheckObjCPropertyAttributes()
2710 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2715 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2720 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2726 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2732 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2737 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2742 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2748 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) << "retain" in CheckObjCPropertyAttributes()
2753 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) << "strong" in CheckObjCPropertyAttributes()
2762 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2769 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) << "atomic" in CheckObjCPropertyAttributes()
2795 Diag(Loc, diag::warn_objc_property_no_assignment_attribute); in CheckObjCPropertyAttributes()
2799 Diag(Loc, diag::warn_objc_property_default_assign_on_object); in CheckObjCPropertyAttributes()
2813 Diag(Loc, diag::warn_objc_property_copy_missing_on_block); in CheckObjCPropertyAttributes()
2818 Diag(Loc, diag::warn_objc_property_retain_of_block); in CheckObjCPropertyAttributes()
2822 Diag(Loc, diag::warn_objc_readonly_property_has_setter); in CheckObjCPropertyAttributes()