Lines Matching full:getlocation
95 SourceLocation loc = method->getLocation();
140 Diag(NewMethod->getLocation(),
146 Diag(NewMethod->getLocation(),
153 Diag(Overridden->getLocation(),
158 Diag(Overridden->getLocation(),
164 Diag(NewMethod->getLocation(),
166 Diag(Overridden->getLocation(), diag::note_previous_decl)
171 Diag(NewMethod->getLocation(),
173 Diag(Overridden->getLocation(), diag::note_previous_decl)
185 Diag(newDecl->getLocation(),
187 Diag(oldDecl->getLocation(), diag::note_previous_decl)
216 Diag(method->getLocation(), diag::error_dealloc_bad_result_type)
220 Diag(method->getLocation(), diag::error_dealloc_bad_result_type)
264 S.Diag(ND->getLocation(), diag::note_method_declared_at)
267 S.Diag(ND->getLocation(), diag::note_previous_decl) << "class";
338 Diag(Param->getLocation(), diag::warn_arc_strong_pointer_objc_pointer) <<
352 Diag(MDecl->getLocation(), diag::err_arc_illegal_method_def)
391 MDecl->getLocation(), 0);
459 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
490 Diag(Def->getLocation(), diag::note_previous_definition);
519 Diag(PrevDecl->getLocation(), diag::note_previous_decl)
561 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
609 Diag(ADecl->getLocation(), diag::note_previous_declaration);
630 Diag(CDeclU->getLocation(), diag::note_previous_declaration);
664 PDecl->getLocation(), PDecl->getReferencedProtocols()))
689 Diag(Def->getLocation(), diag::note_previous_definition);
706 ProtocolName, ProtocolLoc, PrevDecl->getLocation(), PList);
754 Diag(PDecl->getLocation(), diag::note_previous_decl)
803 Diag(Method->getLocation(), diag::err_duplicate_method_decl)
805 Diag(PrevMethod->getLocation(), diag::note_previous_declaration);
874 Diag(IDecl->getImplementation()->getLocation(),
885 Diag(Previous->getLocation(), diag::note_previous_definition);
952 Diag(CatIDecl->getImplementation()->getLocation(),
961 CDecl->getLocation(), 2);
981 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
1001 Diag(IDecl->getLocation(), diag::note_previous_decl) << CorrectedName
1018 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
1031 Diag(SDecl->getLocation(), diag::note_previous_definition);
1074 Diag(IDecl->getImplementation()->getLocation(),
1084 IMPDecl->getLocation(), 1);
1136 Diag(ImpDecl->getLocation(), diag::warn_on_superclass_use);
1141 Diag(ImplIvar->getLocation(), diag::err_duplicate_ivar_declaration);
1142 Diag(ClsIvar->getLocation(), diag::note_previous_definition);
1153 Diag(ImplIvar->getLocation(), diag::err_duplicate_ivar_declaration);
1154 Diag(ClsExtIvar->getLocation(), diag::note_previous_definition);
1179 Diag(ImplIvar->getLocation(), diag::err_conflicting_ivar_type)
1182 Diag(ClsIvar->getLocation(), diag::note_previous_definition);
1193 Diag(ImplIvar->getLocation(), diag::err_conflicting_ivar_name)
1195 Diag(ClsIvar->getLocation(), diag::note_previous_definition);
1201 Diag(ivars[j]->getLocation(), diag::err_inconsistant_ivar_count);
1203 Diag(IVI->getLocation(), diag::err_inconsistant_ivar_count);
1315 S.Diag(MethodImpl->getLocation(),
1321 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration)
1357 S.Diag(MethodImpl->getLocation(), DiagID)
1362 S.Diag(MethodDecl->getLocation(),
1382 S.Diag(ImplVar->getLocation(),
1386 else S.Diag(ImplVar->getLocation(),
1390 S.Diag(IfaceVar->getLocation(), diag::note_previous_declaration)
1428 S.Diag(ImplVar->getLocation(), DiagID)
1431 S.Diag(IfaceVar->getLocation(),
1503 S.Diag(impl->getLocation(), errorID) << int(familySelector) << int(reasonSelector);
1504 S.Diag(decl->getLocation(), noteID) << int(familySelector) << int(reasonSelector);
1529 Diag(ImpMethodDecl->getLocation(),
1531 Diag(MethodDecl->getLocation(), diag::note_previous_declaration);
1552 Diag(Method->getLocation(),
1554 Diag(Overridden->getLocation(), diag::note_previous_declaration);
1594 Diag(ImpMethodDecl->getLocation(),
1596 Diag(MethodDecl->getLocation(), diag::note_method_declared_at)
1675 Diag(CDecl->getLocation(), diag::note_required_for_protocol_at)
1696 Diag(IDecl->getLocation(), diag::note_required_for_protocol_at) <<
1729 WarnUndefinedMethod(IMPDecl->getLocation(), *I, IncompleteImpl,
1759 WarnUndefinedMethod(IMPDecl->getLocation(), *I, IncompleteImpl,
1900 CheckProtocolMethodDefs(IMPDecl->getLocation(), *PI, IncompleteImpl,
1915 CheckProtocolMethodDefs(IMPDecl->getLocation(), *PI, IncompleteImpl,
1946 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
1954 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
2427 S.Diag(TargetMethod->getLocation(), diag::warning_multiple_selectors)
2430 S.Diag(MatchingMethodDecl->getLocation(), diag::note_also_found);
2466 Diag(Ivar->getLocation(), diag::err_duplicate_member) << II;
2467 Diag(prevIvar->getLocation(), diag::note_previous_declaration);
2527 Diag(Method->getLocation(), diag::err_duplicate_method_decl)
2529 Diag(PrevMethod->getLocation(), diag::note_previous_declaration);
2535 Method->getLocation()))
2536 Diag(Method->getLocation(), diag::warn_duplicate_method_decl)
2538 Diag(PrevMethod->getLocation(), diag::note_previous_declaration);
2551 Diag(Method->getLocation(), diag::err_duplicate_method_decl)
2553 Diag(PrevMethod->getLocation(), diag::note_previous_declaration);
2559 Method->getLocation()))
2560 Diag(Method->getLocation(), diag::warn_duplicate_method_decl)
2562 Diag(PrevMethod->getLocation(), diag::note_previous_declaration);
2637 SourceLocation DeclLoc(IDecl->getLocation());
2656 Diag(IDecl->getLocation(), diag::err_objc_root_class_subclass);
2687 Diag(VDecl->getLocation(), diag::err_objc_var_decl_inclass);
3050 Diag((*ParamI)->getLocation(), diag::ext_typecheck_base_super)
3052 Diag(overridden->getLocation(), diag::note_previous_declaration);
3135 Diag(PrevDecl->getLocation(),
3157 Diag(Param->getLocation(), diag::err_block_on_nonlocal);
3205 new (Context) ObjCRequiresSuperAttr(ObjCMethod->getLocation(), Context));
3209 SourceLocation MethodLoc = IMD->getLocation();
3222 Diag(ObjCMethod->getLocation(), diag::err_duplicate_method_decl)
3224 Diag(PrevMethod->getLocation(), diag::note_previous_declaration);
3301 Diag(D->getLocation(), diag::err_objc_decls_may_only_appear_in_global_scope);
3331 /*FIXME: StartL=*/ID->getLocation(),
3332 ID->getLocation(),
3440 Diag(New->getLocation(), diag::err_block_on_nonlocal);