Lines Matching refs:getLocation

95   SourceLocation loc = method->getLocation();  in checkInitMethod()
138 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride()
144 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride()
151 Diag(Overridden->getLocation(), in CheckObjCMethodOverride()
156 Diag(Overridden->getLocation(), in CheckObjCMethodOverride()
162 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride()
164 Diag(Overridden->getLocation(), diag::note_previous_decl) in CheckObjCMethodOverride()
169 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride()
171 Diag(Overridden->getLocation(), diag::note_previous_decl) in CheckObjCMethodOverride()
183 Diag(newDecl->getLocation(), in CheckObjCMethodOverride()
185 Diag(oldDecl->getLocation(), diag::note_previous_decl) in CheckObjCMethodOverride()
212 Diag(method->getLocation(), diag::error_dealloc_bad_result_type) in CheckARCMethodDecl()
216 Diag(method->getLocation(), diag::error_dealloc_bad_result_type) in CheckARCMethodDecl()
258 S.Diag(ND->getLocation(), diag::note_method_declared_at) in DiagnoseObjCImplementedDeprecations()
261 S.Diag(ND->getLocation(), diag::note_previous_decl) << "class"; in DiagnoseObjCImplementedDeprecations()
330 Diag(Param->getLocation(), diag::warn_arc_strong_pointer_objc_pointer) << in ActOnStartOfObjCMethodDef()
344 Diag(MDecl->getLocation(), diag::err_arc_illegal_method_def) in ActOnStartOfObjCMethodDef()
389 MDecl->getLocation(), 0); in ActOnStartOfObjCMethodDef()
466 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnStartClassInterface()
497 Diag(Def->getLocation(), diag::note_previous_definition); in ActOnStartClassInterface()
567 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnStartClassInterface()
636 Diag(ADecl->getLocation(), diag::note_previous_declaration); in ActOnCompatibilityAlias()
657 Diag(CDeclU->getLocation(), diag::note_previous_declaration); in ActOnCompatibilityAlias()
691 PDecl->getLocation(), PDecl->getReferencedProtocols())) in CheckForwardProtocolDeclarationForCircularDependency()
716 Diag(Def->getLocation(), diag::note_previous_definition); in ActOnStartProtocolInterface()
733 ProtocolName, ProtocolLoc, PrevDecl->getLocation(), PList); in ActOnStartProtocolInterface()
819 Diag(UndefinedProtocol->getLocation(), diag::note_protocol_decl_undefined) in FindProtocolDeclaration()
845 Diag(Method->getLocation(), diag::err_duplicate_method_decl) in DiagnoseClassExtensionDupMethods()
847 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()
916 Diag(IDecl->getImplementation()->getLocation(), in ActOnStartCategoryInterface()
927 Diag(Previous->getLocation(), diag::note_previous_definition); in ActOnStartCategoryInterface()
994 Diag(CatIDecl->getImplementation()->getLocation(), in ActOnStartCategoryImplementation()
1003 CDecl->getLocation(), 2); in ActOnStartCategoryImplementation()
1023 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnStartClassImplementation()
1054 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnStartClassImplementation()
1067 Diag(SDecl->getLocation(), diag::note_previous_definition); in ActOnStartClassImplementation()
1110 Diag(IDecl->getImplementation()->getLocation(), in ActOnStartClassImplementation()
1120 IMPDecl->getLocation(), 1); in ActOnStartClassImplementation()
1172 Diag(ImpDecl->getLocation(), diag::warn_on_superclass_use); in CheckImplementationIvars()
1177 Diag(ImplIvar->getLocation(), diag::err_duplicate_ivar_declaration); in CheckImplementationIvars()
1178 Diag(ClsIvar->getLocation(), diag::note_previous_definition); in CheckImplementationIvars()
1185 Diag(ImplIvar->getLocation(), diag::err_duplicate_ivar_declaration); in CheckImplementationIvars()
1186 Diag(ClsExtIvar->getLocation(), diag::note_previous_definition); in CheckImplementationIvars()
1211 Diag(ImplIvar->getLocation(), diag::err_conflicting_ivar_type) in CheckImplementationIvars()
1214 Diag(ClsIvar->getLocation(), diag::note_previous_definition); in CheckImplementationIvars()
1225 Diag(ImplIvar->getLocation(), diag::err_conflicting_ivar_name) in CheckImplementationIvars()
1227 Diag(ClsIvar->getLocation(), diag::note_previous_definition); in CheckImplementationIvars()
1233 Diag(ivars[j]->getLocation(), diag::err_inconsistent_ivar_count); in CheckImplementationIvars()
1235 Diag(IVI->getLocation(), diag::err_inconsistent_ivar_count); in CheckImplementationIvars()
1354 S.Diag(MethodImpl->getLocation(), in CheckMethodOverrideReturn()
1360 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration) in CheckMethodOverrideReturn()
1396 S.Diag(MethodImpl->getLocation(), DiagID) in CheckMethodOverrideReturn()
1400 S.Diag(MethodDecl->getLocation(), IsOverridingMode in CheckMethodOverrideReturn()
1420 S.Diag(ImplVar->getLocation(), in CheckMethodOverrideParam()
1424 else S.Diag(ImplVar->getLocation(), in CheckMethodOverrideParam()
1428 S.Diag(IfaceVar->getLocation(), diag::note_previous_declaration) in CheckMethodOverrideParam()
1466 S.Diag(ImplVar->getLocation(), DiagID) in CheckMethodOverrideParam()
1469 S.Diag(IfaceVar->getLocation(), in CheckMethodOverrideParam()
1542 S.Diag(impl->getLocation(), errorID) << int(familySelector) << int(reasonSelector); in checkMethodFamilyMismatch()
1543 S.Diag(decl->getLocation(), noteID) << int(familySelector) << int(reasonSelector); in checkMethodFamilyMismatch()
1568 Diag(ImpMethodDecl->getLocation(), in WarnConflictingTypedMethods()
1570 Diag(MethodDecl->getLocation(), diag::note_previous_declaration); in WarnConflictingTypedMethods()
1591 Diag(Method->getLocation(), in CheckConflictingOverridingMethod()
1593 Diag(Overridden->getLocation(), diag::note_previous_declaration); in CheckConflictingOverridingMethod()
1633 Diag(ImpMethodDecl->getLocation(), in WarnExactTypedMethods()
1635 Diag(MethodDecl->getLocation(), diag::note_method_declared_at) in WarnExactTypedMethods()
1822 WarnUndefinedMethod(*this, IMPDecl->getLocation(), I, IncompleteImpl, in MatchAllMethodDeclarations()
1848 WarnUndefinedMethod(*this, IMPDecl->getLocation(), I, IncompleteImpl, in MatchAllMethodDeclarations()
1992 CheckProtocolMethodDefs(*this, IMPDecl->getLocation(), PI, IncompleteImpl, in ImplMethodsVsClassMethods()
2002 CheckProtocolMethodDefs(*this, IMPDecl->getLocation(), P, in ImplMethodsVsClassMethods()
2034 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnForwardClassDeclaration()
2043 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnForwardClassDeclaration()
2573 Diag(Ivar->getLocation(), diag::err_duplicate_member) << II; in DiagnoseDuplicateIvars()
2574 Diag(prevIvar->getLocation(), diag::note_previous_declaration); in DiagnoseDuplicateIvars()
2633 Diag(Method->getLocation(), diag::err_duplicate_method_decl) in ActOnAtEnd()
2635 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
2641 Method->getLocation())) in ActOnAtEnd()
2642 Diag(Method->getLocation(), diag::warn_duplicate_method_decl) in ActOnAtEnd()
2644 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
2657 Diag(Method->getLocation(), diag::err_duplicate_method_decl) in ActOnAtEnd()
2659 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
2665 Method->getLocation())) in ActOnAtEnd()
2666 Diag(Method->getLocation(), diag::warn_duplicate_method_decl) in ActOnAtEnd()
2668 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
2736 SourceLocation DeclLoc(IDecl->getLocation()); in ActOnAtEnd()
2755 Diag(IDecl->getLocation(), diag::err_objc_root_class_subclass); in ActOnAtEnd()
2786 Diag(VDecl->getLocation(), diag::err_objc_var_decl_inclass); in ActOnAtEnd()
3087 Diag((*ParamI)->getLocation(), diag::ext_typecheck_base_super) in CheckObjCMethodOverrides()
3089 Diag(overridden->getLocation(), diag::note_previous_declaration); in CheckObjCMethodOverrides()
3168 Diag(PrevDecl->getLocation(), in ActOnMethodDeclaration()
3190 Diag(Param->getLocation(), diag::err_block_on_nonlocal); in ActOnMethodDeclaration()
3238 ObjCMethod->getLocation())); in ActOnMethodDeclaration()
3244 Diag(ObjCMethod->getLocation(), diag::warn_dealloc_in_category) in ActOnMethodDeclaration()
3253 Diag(ObjCMethod->getLocation(), diag::err_duplicate_method_decl) in ActOnMethodDeclaration()
3255 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnMethodDeclaration()
3334 Diag(D->getLocation(), diag::err_objc_decls_may_only_appear_in_global_scope); in CheckObjCDeclScope()
3364 /*FIXME: StartL=*/ID->getLocation(), in ActOnDefs()
3365 ID->getLocation(), in ActOnDefs()
3473 Diag(New->getLocation(), diag::err_block_on_nonlocal); in ActOnObjCExceptionDecl()
3582 SourceLocation Loc = CurMethod->getLocation(); in DiagnoseUnusedBackingIvarInAccessor()
3602 Diag(PDecl->getLocation(), diag::note_property_declare); in DiagnoseUnusedBackingIvarInAccessor()