Lines Matching refs:diag

99          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()
419 Diag(CDecl->getLocation(), diag::err_continuation_class); in HandlePropertyInClassExtension()
434 Diag(AtLoc, diag::err_duplicate_property); in HandlePropertyInClassExtension()
435 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
449 unsigned diag = in HandlePropertyInClassExtension() local
453 ? diag::err_use_continuation_class_redeclaration_readwrite in HandlePropertyInClassExtension()
454 : diag::err_use_continuation_class; in HandlePropertyInClassExtension()
455 Diag(AtLoc, diag) in HandlePropertyInClassExtension()
457 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
465 Diag(AtLoc, diag::warn_property_redecl_getter_mismatch) in HandlePropertyInClassExtension()
467 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
482 Diag(AtLoc, diag::warn_property_attr_mismatch); in HandlePropertyInClassExtension()
483 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
496 Diag(AtLoc, diag::warn_property_implicitly_mismatched); in HandlePropertyInClassExtension()
497 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
535 diag::err_type_mismatch_continuation_class) << PDecl->getType(); in HandlePropertyInClassExtension()
536 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
585 Diag(AtLoc, diag::warn_implements_nscopying) << PropertyId; in CreatePropertyDecl()
592 Diag(FD.D.getIdentifierLoc(), diag::err_statically_allocated_object) in CreatePropertyDecl()
611 Diag(PDecl->getLocation(), diag::err_duplicate_property); in CreatePropertyDecl()
612 Diag(prevDecl->getLocation(), diag::note_property_declare); in CreatePropertyDecl()
622 Diag(AtLoc, diag::err_property_type) << T; in CreatePropertyDecl()
694 Diag(PDecl->getLocation(), diag::err_objc_direct_on_protocol) << true; in CreatePropertyDecl()
698 Diag(PDecl->getLocation(), diag::warn_objc_direct_property_ignored) in CreatePropertyDecl()
748 S.Diag(ivar->getLocation(), diag::err_arc_strong_property_ownership) in checkARCPropertyImpl()
755 S.Diag(ivar->getLocation(), diag::err_weak_property) in checkARCPropertyImpl()
761 S.Diag(ivar->getLocation(), diag::err_arc_assign_property_ownership) in checkARCPropertyImpl()
775 S.Diag(property->getLocation(), diag::note_property_declare); in checkARCPropertyImpl()
777 S.Diag(propertyImplLoc, diag::note_property_synthesize); in checkARCPropertyImpl()
953 ? diag::err_protocol_property_mismatch in SelectPropertyForSynthesisFromProtocols()
954 : diag::warn_protocol_property_mismatch); in SelectPropertyForSynthesisFromProtocols()
974 S.Diag(Note.Prop->getLocation(), diag::note_protocol_property_declare) in SelectPropertyForSynthesisFromProtocols()
993 S.Diag(AtLoc, diag::note_property_synthesize); in SelectPropertyForSynthesisFromProtocols()
1071 Diag(AtLoc, diag::err_missing_property_context); in ActOnPropertyImplDecl()
1095 Diag(PropertyLoc, diag::err_bad_property_decl) << IDecl->getDeclName(); in ActOnPropertyImplDecl()
1099 Diag(PropertyLoc, diag::err_synthesize_on_class_property) << PropertyId; in ActOnPropertyImplDecl()
1106 Diag(AtLoc, diag::warn_implicit_atomic_property); in ActOnPropertyImplDecl()
1108 Diag(IC->getLocation(), diag::warn_auto_implicit_atomic_property); in ActOnPropertyImplDecl()
1109 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1115 Diag(PropertyLoc, diag::err_category_property) << CD->getDeclName(); in ActOnPropertyImplDecl()
1116 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1137 Diag(property->getLocation(), diag::warn_auto_readonly_iboutlet_property) in ActOnPropertyImplDecl()
1146 diag::note_auto_readonly_iboutlet_fixup_suggest) << in ActOnPropertyImplDecl()
1157 Diag(AtLoc, diag::err_synthesize_category_decl); in ActOnPropertyImplDecl()
1162 Diag(AtLoc, diag::err_missing_property_interface); in ActOnPropertyImplDecl()
1175 Diag(PropertyLoc, diag::err_bad_category_property_decl) in ActOnPropertyImplDecl()
1180 Diag(AtLoc, diag::err_bad_property_context); in ActOnPropertyImplDecl()
1198 diag::err_incomplete_synthesized_property, in ActOnPropertyImplDecl()
1200 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1219 Diag(PropertyDiagLoc, diag::err_gc_weak_property_strong_type); in ActOnPropertyImplDecl()
1220 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1234 ? diag::err_synthesizing_arc_weak_property_disabled in ActOnPropertyImplDecl()
1235 : diag::err_synthesizing_arc_weak_property_no_runtime); in ActOnPropertyImplDecl()
1236 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1246 diag::err_arc_weak_unavailable_property) in ActOnPropertyImplDecl()
1248 Diag(ClassImpDecl->getLocation(), diag::note_implemented_by_class) in ActOnPropertyImplDecl()
1267 diag::warn_autosynthesis_property_ivar_match) in ActOnPropertyImplDecl()
1270 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1271 Diag(originalIvar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1287 diag::err_arc_objc_property_default_assign_on_object); in ActOnPropertyImplDecl()
1288 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1306 diag::err_abstract_type_in_decl, in ActOnPropertyImplDecl()
1308 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1315 Diag(PropertyIvarLoc, diag::err_synthesize_variable_sized_ivar) in ActOnPropertyImplDecl()
1326 Diag(PropertyDiagLoc, diag::err_missing_property_ivar_decl) in ActOnPropertyImplDecl()
1332 Diag(PropertyDiagLoc, diag::err_ivar_in_superclass_use) in ActOnPropertyImplDecl()
1335 Diag(Ivar->getLocation(), diag::note_previous_access_declaration) in ActOnPropertyImplDecl()
1356 Diag(PropertyDiagLoc, diag::err_property_ivar_type) in ActOnPropertyImplDecl()
1359 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1371 Diag(PropertyDiagLoc, diag::err_property_ivar_type) in ActOnPropertyImplDecl()
1374 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1381 Diag(PropertyDiagLoc, diag::err_weak_property) in ActOnPropertyImplDecl()
1383 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1390 Diag(PropertyDiagLoc, diag::err_strong_property) in ActOnPropertyImplDecl()
1400 Diag(PropertyDiagLoc, diag::err_dynamic_property_ivar_decl); in ActOnPropertyImplDecl()
1460 diag::warn_property_getter_owning_mismatch); in ActOnPropertyImplDecl()
1461 Diag(property->getLocation(), diag::note_property_declare); in ActOnPropertyImplDecl()
1469 Diag(getterMethod->getLocation(), diag::err_arc_illegal_method_def) in ActOnPropertyImplDecl()
1525 diag::err_atomic_property_nontrivial_assign_op) in ActOnPropertyImplDecl()
1527 Diag(FuncDecl->getBeginLoc(), diag::note_callee_decl) in ActOnPropertyImplDecl()
1539 Diag(PropertyLoc, diag::err_duplicate_ivar_use) in ActOnPropertyImplDecl()
1542 Diag(PPIDecl->getLocation(), diag::note_previous_use); in ActOnPropertyImplDecl()
1547 Diag(PropertyLoc, diag::err_property_implemented) << PropertyId; in ActOnPropertyImplDecl()
1548 Diag(PPIDecl->getLocation(), diag::note_previous_declaration); in ActOnPropertyImplDecl()
1569 Diag(Ivar->getLocation(), diag::err_undeclared_var_use) in ActOnPropertyImplDecl()
1578 Diag(PropertyDiagLoc, diag::err_duplicate_ivar_use) in ActOnPropertyImplDecl()
1581 Diag(PPIDecl->getLocation(), diag::note_previous_use); in ActOnPropertyImplDecl()
1586 Diag(PropertyDiagLoc, diag::err_property_implemented) << PropertyId; in ActOnPropertyImplDecl()
1587 Diag(PPIDecl->getLocation(), diag::note_previous_declaration); in ActOnPropertyImplDecl()
1596 Diag(PropertyLoc, diag::err_objc_direct_dynamic_property); in ActOnPropertyImplDecl()
1598 diag::note_previous_declaration); in ActOnPropertyImplDecl()
1629 Diag(Property->getLocation(), diag::warn_readonly_property) in DiagnosePropertyMismatch()
1633 Diag(Property->getLocation(), diag::warn_property_attribute) in DiagnosePropertyMismatch()
1643 Diag(Property->getLocation(), diag::warn_property_attribute) in DiagnosePropertyMismatch()
1657 Diag(Property->getLocation(), diag::warn_property_attribute) in DiagnosePropertyMismatch()
1659 Diag(SuperProperty->getLocation(), diag::note_property_declare); in DiagnosePropertyMismatch()
1662 Diag(Property->getLocation(), diag::warn_property_attribute) in DiagnosePropertyMismatch()
1664 Diag(SuperProperty->getLocation(), diag::note_property_declare); in DiagnosePropertyMismatch()
1680 Diag(Property->getLocation(), diag::warn_property_types_are_incompatible) in DiagnosePropertyMismatch()
1682 Diag(SuperProperty->getLocation(), diag::note_property_declare); in DiagnosePropertyMismatch()
1706 Diag(Loc, diag::err_property_accessor_type) in DiagnosePropertyAccessorMismatch()
1709 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
1721 Diag(Loc, diag::warn_accessor_property_type_mismatch) in DiagnosePropertyAccessorMismatch()
1724 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
1898 Diag(Prop->getLocation(), diag::warn_no_autosynthesis_shared_ivar_property) in DefaultSynthesizeProperties()
1901 Diag(PID->getLocation(), diag::note_property_synthesize); in DefaultSynthesizeProperties()
1915 diag::warn_auto_synthesizing_protocol_property) in DefaultSynthesizeProperties()
1917 Diag(Prop->getLocation(), diag::note_property_declare); in DefaultSynthesizeProperties()
1920 Diag(AtEnd, diag::note_add_synthesize_directive) in DefaultSynthesizeProperties()
1933 Diag(Prop->getLocation(), diag::warn_no_autosynthesis_property) in DefaultSynthesizeProperties()
1935 Diag(PropInSuperClass->getLocation(), diag::note_property_declare); in DefaultSynthesizeProperties()
1937 Diag(Prop->getLocation(), diag::warn_autosynthesis_property_in_superclass) in DefaultSynthesizeProperties()
1939 Diag(PropInSuperClass->getLocation(), diag::note_property_declare); in DefaultSynthesizeProperties()
1940 Diag(IMPDecl->getLocation(), diag::note_while_in_implementation); in DefaultSynthesizeProperties()
1955 Diag(Prop->getLocation(), diag::warn_missing_explicit_synthesis); in DefaultSynthesizeProperties()
1956 Diag(IMPDecl->getLocation(), diag::note_while_in_implementation); in DefaultSynthesizeProperties()
1993 unsigned diag = in DiagnoseUnimplementedAccessor() local
1996 ? diag::warn_impl_required_in_category_for_class_property in DiagnoseUnimplementedAccessor()
1997 : diag::warn_setter_getter_impl_required_in_category) in DiagnoseUnimplementedAccessor()
1999 ? diag::warn_impl_required_for_class_property in DiagnoseUnimplementedAccessor()
2000 : diag::warn_setter_getter_impl_required); in DiagnoseUnimplementedAccessor()
2001 S.Diag(IMPDecl->getLocation(), diag) << Prop->getDeclName() << Method; in DiagnoseUnimplementedAccessor()
2002 S.Diag(Prop->getLocation(), diag::note_property_declare); in DiagnoseUnimplementedAccessor()
2007 S.Diag(RID->getLocation(), diag::note_suppressed_class_declare); in DiagnoseUnimplementedAccessor()
2137 Diag(loc, diag::warn_null_resettable_setter) in diagnoseNullResettableSynthesizedSetters()
2179 diag::warn_default_atomic_custom_getter_setter) in AtomicPropertySetterGetterRules()
2181 Diag(Property->getLocation(), diag::note_property_declare); in AtomicPropertySetterGetterRules()
2185 diag::warn_default_atomic_custom_getter_setter) in AtomicPropertySetterGetterRules()
2187 Diag(Property->getLocation(), diag::note_property_declare); in AtomicPropertySetterGetterRules()
2209 Diag(MethodLoc, diag::warn_atomic_property_rule) in AtomicPropertySetterGetterRules()
2221 diag::note_atomic_property_fixup_suggest) in AtomicPropertySetterGetterRules()
2228 diag::note_atomic_property_fixup_suggest) in AtomicPropertySetterGetterRules()
2231 Diag(MethodLoc, diag::note_atomic_property_fixup_suggest); in AtomicPropertySetterGetterRules()
2232 Diag(Property->getLocation(), diag::note_property_declare); in AtomicPropertySetterGetterRules()
2257 Diag(PD->getLocation(), diag::err_cocoa_naming_owned_rule); in DiagnoseOwningPropertyGetterSynthesis()
2259 Diag(PD->getLocation(), diag::warn_cocoa_naming_owned_rule); in DiagnoseOwningPropertyGetterSynthesis()
2286 auto noteDiag = Diag(noteLoc, diag::note_cocoa_naming_declare_family) in DiagnoseOwningPropertyGetterSynthesis()
2331 diag::warn_objc_implementation_missing_designated_init_override) in DiagnoseMissingDesignatedInitOverrides()
2333 Diag(MD->getLocation(), diag::note_objc_designated_init_marked_here); in DiagnoseMissingDesignatedInitOverrides()
2399 Diag(property->getLocation(), diag::err_objc_direct_duplicate_decl) in ProcessPropertyDecl()
2403 Diag(ExistingGetter->getLocation(), diag::note_previous_declaration); in ProcessPropertyDecl()
2415 Diag(property->getLocation(), diag::err_objc_direct_duplicate_decl) in ProcessPropertyDecl()
2419 Diag(ExistingSetter->getLocation(), diag::note_previous_declaration); in ProcessPropertyDecl()
2428 Diag(SetterMethod->getLocation(), diag::err_setter_type_void); in ProcessPropertyDecl()
2434 diag::warn_accessor_property_type_mismatch) in ProcessPropertyDecl()
2437 Diag(SetterMethod->getLocation(), diag::note_declared_at); in ProcessPropertyDecl()
2628 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2641 Diag(Loc, diag::err_objc_property_requires_object) in CheckObjCPropertyAttributes()
2659 Diag(Loc, diag::warn_objc_property_assign_on_object); in CheckObjCPropertyAttributes()
2665 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2670 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2675 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2681 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2686 Diag(Loc, diag::warn_iboutletcollection_property_assign); in CheckObjCPropertyAttributes()
2689 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2694 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2699 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2705 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2711 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2716 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2721 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2727 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) << "retain" in CheckObjCPropertyAttributes()
2732 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) << "strong" in CheckObjCPropertyAttributes()
2741 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) in CheckObjCPropertyAttributes()
2748 Diag(Loc, diag::err_objc_property_attr_mutually_exclusive) << "atomic" in CheckObjCPropertyAttributes()
2774 Diag(Loc, diag::warn_objc_property_no_assignment_attribute); in CheckObjCPropertyAttributes()
2778 Diag(Loc, diag::warn_objc_property_default_assign_on_object); in CheckObjCPropertyAttributes()
2790 Diag(Loc, diag::warn_objc_property_copy_missing_on_block); in CheckObjCPropertyAttributes()
2795 Diag(Loc, diag::warn_objc_property_retain_of_block); in CheckObjCPropertyAttributes()
2799 Diag(Loc, diag::warn_objc_readonly_property_has_setter); in CheckObjCPropertyAttributes()