Lines Matching refs:Diag

107   Diag(loc, diag::err_arc_init_method_unrelated_result_type);
141 Diag(NewMethod->getLocation(),
147 Diag(NewMethod->getLocation(),
154 Diag(Overridden->getLocation(),
159 Diag(Overridden->getLocation(),
165 Diag(NewMethod->getLocation(),
167 Diag(Overridden->getLocation(), diag::note_previous_decl)
172 Diag(NewMethod->getLocation(),
174 Diag(Overridden->getLocation(), diag::note_previous_decl)
186 Diag(newDecl->getLocation(),
188 Diag(oldDecl->getLocation(), diag::note_previous_decl)
217 Diag(method->getLocation(), diag::error_dealloc_bad_result_type)
221 Diag(method->getLocation(), diag::error_dealloc_bad_result_type)
261 S.Diag(ImplLoc, diag::warn_deprecated_def) << select;
263 S.Diag(ND->getLocation(), diag::note_method_declared_at)
266 S.Diag(ND->getLocation(), diag::note_previous_decl) << "class";
335 Diag(Param->getLocation(), diag::warn_arc_strong_pointer_objc_pointer) <<
349 Diag(MDecl->getLocation(), diag::err_arc_illegal_method_def)
469 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName;
470 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
499 Diag(AtInterfaceLoc, diag::err_duplicate_class_def)
501 Diag(Def->getLocation(), diag::note_previous_definition);
534 Diag(SuperLoc, diag::err_recursive_superclass)
569 Diag(SuperLoc, diag::err_redefinition_different_kind) << SuperName;
570 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
576 Diag(SuperLoc, diag::err_undef_superclass)
639 Diag(AliasLocation, diag::err_conflicting_aliasing_type) << AliasName;
640 Diag(ADecl->getLocation(), diag::note_previous_declaration);
659 Diag(ClassLocation, diag::warn_undef_interface) << ClassName;
661 Diag(CDeclU->getLocation(), diag::note_previous_declaration);
686 Diag(Ploc, diag::err_protocol_has_circular_dependency);
687 Diag(PrevLoc, diag::note_previous_definition);
719 Diag(ProtocolLoc, diag::warn_duplicate_protocol_def) << ProtocolName;
720 Diag(Def->getLocation(), diag::note_previous_definition);
804 Diag(ProtocolId[i].second, diag::err_undeclared_protocol)
821 Diag(ProtocolId[i].second, diag::warn_undef_protocolref)
823 Diag(UndefinedProtocol->getLocation(), diag::note_protocol_decl_undefined)
849 Diag(Method->getLocation(), diag::err_duplicate_method_decl)
851 Diag(PrevMethod->getLocation(), diag::note_previous_declaration);
914 Diag(ClassLoc, diag::err_undef_interface) << ClassName;
919 Diag(ClassLoc, diag::err_class_extension_after_impl) << ClassName;
920 Diag(IDecl->getImplementation()->getLocation(),
929 Diag(CategoryLoc, diag::warn_dup_category_def)
931 Diag(Previous->getLocation(), diag::note_previous_definition);
979 Diag(ClassLoc, diag::err_undef_interface) << ClassName;
996 Diag(ClassLoc, diag::err_dup_implementation_category) << ClassName
998 Diag(CatIDecl->getImplementation()->getLocation(),
1026 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName;
1027 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
1047 Diag(ClassLoc, diag::warn_undef_interface) << ClassName;
1058 Diag(SuperClassLoc, diag::err_redefinition_different_kind)
1060 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
1066 Diag(SuperClassLoc, diag::err_undef_superclass)
1071 Diag(SuperClassLoc, diag::err_conflicting_super_class)
1073 Diag(SDecl->getLocation(), diag::note_previous_definition);
1115 Diag(ClassLoc, diag::err_dup_implementation_class) << ClassName;
1116 Diag(IDecl->getImplementation()->getLocation(),
1178 Diag(ImpDecl->getLocation(), diag::warn_on_superclass_use);
1183 Diag(ImplIvar->getLocation(), diag::err_duplicate_ivar_declaration);
1184 Diag(ClsIvar->getLocation(), diag::note_previous_definition);
1191 Diag(ImplIvar->getLocation(), diag::err_duplicate_ivar_declaration);
1192 Diag(ClsExtIvar->getLocation(), diag::note_previous_definition);
1217 Diag(ImplIvar->getLocation(), diag::err_conflicting_ivar_type)
1220 Diag(ClsIvar->getLocation(), diag::note_previous_definition);
1224 Diag(ImplIvar->getBitWidth()->getLocStart(),
1226 Diag(ClsIvar->getBitWidth()->getLocStart(),
1231 Diag(ImplIvar->getLocation(), diag::err_conflicting_ivar_name)
1233 Diag(ClsIvar->getLocation(), diag::note_previous_definition);
1239 Diag(ivars[j]->getLocation(), diag::err_inconsistent_ivar_count);
1241 Diag(IVI->getLocation(), diag::err_inconsistent_ivar_count);
1267 const Sema::SemaDiagnosticBuilder &B = S.Diag(ImpLoc, DiagID);
1276 S.Diag(MethodLoc, diag::note_method_declared_at) << method;
1360 S.Diag(MethodImpl->getLocation(),
1366 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration)
1402 S.Diag(MethodImpl->getLocation(), DiagID)
1406 S.Diag(MethodDecl->getLocation(), IsOverridingMode
1426 S.Diag(ImplVar->getLocation(),
1430 else S.Diag(ImplVar->getLocation(),
1434 S.Diag(IfaceVar->getLocation(), diag::note_previous_declaration)
1472 S.Diag(ImplVar->getLocation(), DiagID)
1475 S.Diag(IfaceVar->getLocation(),
1547 S.Diag(impl->getLocation(), errorID) << int(familySelector) << int(reasonSelector);
1548 S.Diag(decl->getLocation(), noteID) << int(familySelector) << int(reasonSelector);
1573 Diag(ImpMethodDecl->getLocation(),
1575 Diag(MethodDecl->getLocation(), diag::note_previous_declaration);
1596 Diag(Method->getLocation(),
1598 Diag(Overridden->getLocation(), diag::note_previous_declaration);
1638 Diag(ImpMethodDecl->getLocation(),
1640 Diag(MethodDecl->getLocation(), diag::note_method_declared_at)
2039 Diag(AtClassLoc, diag::err_redefinition_different_kind) << IdentList[i];
2040 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
2047 Diag(AtClassLoc, diag::warn_forward_class_redefinition) << IdentList[i];
2048 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
2379 Diag(R.getBegin(), diag::err_arc_multiple_method_decl) << Sel << R;
2381 Diag(R.getBegin(), diag::warn_strict_multiple_method_decl) << Sel << R;
2383 Diag(R.getBegin(), diag::warn_multiple_method_decl) << Sel << R;
2385 Diag(Methods[0]->getLocStart(),
2389 Diag(Methods[I]->getLocStart(), diag::note_also_found)
2516 Diag(Ivar->getLocation(), diag::err_duplicate_member) << II;
2517 Diag(prevIvar->getLocation(), diag::note_previous_declaration);
2577 Diag(Method->getLocation(), diag::err_duplicate_method_decl)
2579 Diag(PrevMethod->getLocation(), diag::note_previous_declaration);
2586 Diag(Method->getLocation(), diag::warn_duplicate_method_decl)
2588 Diag(PrevMethod->getLocation(), diag::note_previous_declaration);
2601 Diag(Method->getLocation(), diag::err_duplicate_method_decl)
2603 Diag(PrevMethod->getLocation(), diag::note_previous_declaration);
2610 Diag(Method->getLocation(), diag::warn_duplicate_method_decl)
2612 Diag(PrevMethod->getLocation(), diag::note_previous_declaration);
2682 Diag(DeclLoc, diag::warn_objc_root_class_missing)
2691 Diag(SuperClassLoc, diag::note_objc_needs_superclass)
2694 Diag(SuperClassLoc, diag::note_objc_needs_superclass);
2699 Diag(IDecl->getLocation(), diag::err_objc_root_class_subclass);
2730 Diag(VDecl->getLocation(), diag::err_objc_var_decl_inclass);
3031 Diag((*ParamI)->getLocation(), diag::ext_typecheck_base_super)
3033 Diag(overridden->getLocation(), diag::note_previous_declaration);
3058 Diag(MethodLoc, diag::error_missing_method_context);
3076 Diag(MethodLoc, diag::warn_missing_method_return_type)
3108 Diag(ArgInfo[i].NameLoc,
3112 Diag(PrevDecl->getLocation(),
3134 Diag(Param->getLocation(), diag::err_block_on_nonlocal);
3188 Diag(ObjCMethod->getLocation(), diag::warn_dealloc_in_category)
3197 Diag(ObjCMethod->getLocation(), diag::err_duplicate_method_decl)
3199 Diag(PrevMethod->getLocation(), diag::note_previous_declaration);
3276 Diag(D->getLocation(), diag::err_objc_decls_may_only_appear_in_global_scope);
3290 Diag(DeclStart, diag::err_undef_interface) << ClassName;
3294 Diag(DeclStart, diag::err_atdef_nonfragile_interface);
3335 Diag(IdLoc, diag::err_arg_with_address_space);
3347 Diag(IdLoc ,diag::err_catch_param_not_objc_type);
3350 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm);
3372 Diag(DS.getStorageClassSpecLoc(), diag::warn_register_objc_catch_parm)
3375 Diag(DS.getStorageClassSpecLoc(), diag::err_storage_spec_on_catch_parm)
3379 Diag(D.getDeclSpec().getThreadStorageClassSpecLoc(),
3402 Diag(D.getIdentifierLoc(), diag::err_qualified_objc_catch_parm)
3415 Diag(New->getLocation(), diag::err_block_on_nonlocal);
3451 Diag((*S).second, diag::warn_unimplemented_selector) << Sel;
3544 Diag(Loc, DIAG) << IV;
3545 Diag(PDecl->getLocation(), diag::note_property_declare);