• Home
  • Raw
  • Download

Lines Matching refs:getLocation

96   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()
534 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnSuperClassOfClassInterface()
711 Diag(typeParam->getLocation(), diag::err_objc_type_param_redecl) in actOnObjCTypeParamList()
713 << SourceRange(known->second->getLocation()); in actOnObjCTypeParamList()
759 diagLoc = newTypeParams->begin()[prevTypeParams->size()]->getLocation(); in checkTypeParamListConsistency()
829 S.Diag(prevTypeParam->getLocation(), diag::note_objc_type_param_here) in checkTypeParamListConsistency()
859 S.Diag(prevTypeParam->getLocation(), diag::note_objc_type_param_here) in checkTypeParamListConsistency()
876 = S.getLocForEndOfToken(newTypeParam->getLocation()); in checkTypeParamListConsistency()
880 S.Diag(newTypeParam->getLocation(), in checkTypeParamListConsistency()
887 S.Diag(prevTypeParam->getLocation(), diag::note_objc_type_param_here) in checkTypeParamListConsistency()
917 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnStartClassInterface()
988 Diag(Def->getLocation(), diag::note_previous_definition); in ActOnStartClassInterface()
1060 Diag(ADecl->getLocation(), diag::note_previous_declaration); in ActOnCompatibilityAlias()
1081 Diag(CDeclU->getLocation(), diag::note_previous_declaration); in ActOnCompatibilityAlias()
1115 PDecl->getLocation(), PDecl->getReferencedProtocols())) in CheckForwardProtocolDeclarationForCircularDependency()
1140 Diag(Def->getLocation(), diag::note_previous_definition); in ActOnStartProtocolInterface()
1157 ProtocolName, ProtocolLoc, PrevDecl->getLocation(), PList); in ActOnStartProtocolInterface()
1245 Diag(UndefinedProtocol->getLocation(), diag::note_protocol_decl_undefined) in FindProtocolDeclaration()
1377 Diag(forwardDecl->getLocation(), diag::note_protocol_decl_undefined) in actOnObjCTypeArgsOrProtocolQualifiers()
1674 Diag(Method->getLocation(), diag::err_duplicate_method_decl) in DiagnoseClassExtensionDupMethods()
1676 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()
1746 Diag(IDecl->getImplementation()->getLocation(), in ActOnStartCategoryInterface()
1757 Diag(Previous->getLocation(), diag::note_previous_definition); in ActOnStartCategoryInterface()
1854 Diag(CatIDecl->getImplementation()->getLocation(), in ActOnStartCategoryImplementation()
1863 CDecl->getLocation(), 2); in ActOnStartCategoryImplementation()
1883 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnStartClassImplementation()
1916 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnStartClassImplementation()
1929 Diag(SDecl->getLocation(), diag::note_previous_definition); in ActOnStartClassImplementation()
1974 Diag(IDecl->getImplementation()->getLocation(), in ActOnStartClassImplementation()
1984 IMPDecl->getLocation(), 1); in ActOnStartClassImplementation()
2046 Diag(ImpDecl->getLocation(), diag::warn_on_superclass_use); in CheckImplementationIvars()
2051 Diag(ImplIvar->getLocation(), diag::err_duplicate_ivar_declaration); in CheckImplementationIvars()
2052 Diag(ClsIvar->getLocation(), diag::note_previous_definition); in CheckImplementationIvars()
2059 Diag(ImplIvar->getLocation(), diag::err_duplicate_ivar_declaration); in CheckImplementationIvars()
2060 Diag(ClsExtIvar->getLocation(), diag::note_previous_definition); in CheckImplementationIvars()
2085 Diag(ImplIvar->getLocation(), diag::err_conflicting_ivar_type) in CheckImplementationIvars()
2088 Diag(ClsIvar->getLocation(), diag::note_previous_definition); in CheckImplementationIvars()
2099 Diag(ImplIvar->getLocation(), diag::err_conflicting_ivar_name) in CheckImplementationIvars()
2101 Diag(ClsIvar->getLocation(), diag::note_previous_definition); in CheckImplementationIvars()
2107 Diag(ivars[j]->getLocation(), diag::err_inconsistent_ivar_count); in CheckImplementationIvars()
2109 Diag(IVI->getLocation(), diag::err_inconsistent_ivar_count); in CheckImplementationIvars()
2235 S.Diag(MethodImpl->getLocation(), in CheckMethodOverrideReturn()
2241 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration) in CheckMethodOverrideReturn()
2256 S.Diag(MethodImpl->getLocation(), in CheckMethodOverrideReturn()
2266 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration); in CheckMethodOverrideReturn()
2298 S.Diag(MethodImpl->getLocation(), DiagID) in CheckMethodOverrideReturn()
2302 S.Diag(MethodDecl->getLocation(), IsOverridingMode in CheckMethodOverrideReturn()
2322 S.Diag(ImplVar->getLocation(), in CheckMethodOverrideParam()
2326 else S.Diag(ImplVar->getLocation(), in CheckMethodOverrideParam()
2330 S.Diag(IfaceVar->getLocation(), diag::note_previous_declaration) in CheckMethodOverrideParam()
2342 S.Diag(ImplVar->getLocation(), in CheckMethodOverrideParam()
2352 S.Diag(IfaceVar->getLocation(), diag::note_previous_declaration); in CheckMethodOverrideParam()
2382 S.Diag(ImplVar->getLocation(), DiagID) in CheckMethodOverrideParam()
2385 S.Diag(IfaceVar->getLocation(), in CheckMethodOverrideParam()
2458 S.Diag(impl->getLocation(), errorID) << int(familySelector) << int(reasonSelector); in checkMethodFamilyMismatch()
2459 S.Diag(decl->getLocation(), noteID) << int(familySelector) << int(reasonSelector); in checkMethodFamilyMismatch()
2484 Diag(ImpMethodDecl->getLocation(), in WarnConflictingTypedMethods()
2486 Diag(MethodDecl->getLocation(), diag::note_previous_declaration); in WarnConflictingTypedMethods()
2507 Diag(Method->getLocation(), in CheckConflictingOverridingMethod()
2509 Diag(Overridden->getLocation(), diag::note_previous_declaration); in CheckConflictingOverridingMethod()
2549 Diag(ImpMethodDecl->getLocation(), in WarnExactTypedMethods()
2551 Diag(MethodDecl->getLocation(), diag::note_method_declared_at) in WarnExactTypedMethods()
2738 WarnUndefinedMethod(*this, IMPDecl->getLocation(), I, IncompleteImpl, in MatchAllMethodDeclarations()
2765 WarnUndefinedMethod(*this, IMPDecl->getLocation(), I, IncompleteImpl, in MatchAllMethodDeclarations()
2929 CheckProtocolMethodDefs(*this, IMPDecl->getLocation(), PI, IncompleteImpl, in ImplMethodsVsClassMethods()
2936 CheckProtocolMethodDefs(*this, IMPDecl->getLocation(), P, in ImplMethodsVsClassMethods()
2969 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnForwardClassDeclaration()
2978 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnForwardClassDeclaration()
3021 Diag(Def->getLocation(), diag::note_defined_here) in ActOnForwardClassDeclaration()
3652 Diag(Ivar->getLocation(), diag::err_duplicate_member) << II; in DiagnoseDuplicateIvars()
3653 Diag(prevIvar->getLocation(), diag::note_previous_declaration); in DiagnoseDuplicateIvars()
3669 S.Diag(ivar->getLocation(), diag::err_arc_weak_disabled); in DiagnoseWeakIvars()
3671 S.Diag(ivar->getLocation(), diag::err_arc_weak_no_runtime); in DiagnoseWeakIvars()
3729 Diag(Method->getLocation(), diag::err_duplicate_method_decl) in ActOnAtEnd()
3731 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
3737 Method->getLocation())) in ActOnAtEnd()
3738 Diag(Method->getLocation(), diag::warn_duplicate_method_decl) in ActOnAtEnd()
3740 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
3753 Diag(Method->getLocation(), diag::err_duplicate_method_decl) in ActOnAtEnd()
3755 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
3761 Method->getLocation())) in ActOnAtEnd()
3762 Diag(Method->getLocation(), diag::warn_duplicate_method_decl) in ActOnAtEnd()
3764 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
3834 SourceLocation DeclLoc(IDecl->getLocation()); in ActOnAtEnd()
3853 Diag(IDecl->getLocation(), diag::err_objc_root_class_subclass); in ActOnAtEnd()
3884 Diag(VDecl->getLocation(), diag::err_objc_var_decl_inclass); in ActOnAtEnd()
4183 Diag((*ParamI)->getLocation(), diag::ext_typecheck_base_super) in CheckObjCMethodOverrides()
4185 Diag(overridden->getLocation(), diag::note_previous_declaration); in CheckObjCMethodOverrides()
4246 method->getLocation())); in mergeInterfaceMethodToImpl()
4270 S, param->getLocation(), param->getType(), in mergeInterfaceMethodToImpl()
4272 prevParam->getLocation(), prevParam->getType(), in mergeInterfaceMethodToImpl()
4349 Diag(PrevDecl->getLocation(), in ActOnMethodDeclaration()
4371 Diag(Param->getLocation(), diag::err_block_on_nonlocal); in ActOnMethodDeclaration()
4421 Diag(ObjCMethod->getLocation(), diag::warn_dealloc_in_category) in ActOnMethodDeclaration()
4432 Diag(ObjCMethod->getLocation(), diag::err_duplicate_method_decl) in ActOnMethodDeclaration()
4434 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnMethodDeclaration()
4513 Diag(D->getLocation(), diag::err_objc_decls_may_only_appear_in_global_scope); in CheckObjCDeclScope()
4543 /*FIXME: StartL=*/ID->getLocation(), in ActOnDefs()
4544 ID->getLocation(), in ActOnDefs()
4655 Diag(New->getLocation(), diag::err_block_on_nonlocal); in ActOnObjCExceptionDecl()
4763 SourceLocation Loc = CurMethod->getLocation(); in DiagnoseUnusedBackingIvarInAccessor()
4783 Diag(PDecl->getLocation(), diag::note_property_declare); in DiagnoseUnusedBackingIvarInAccessor()