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