Lines Matching refs:getLocation
252 if (RequireCompleteType(Param->getLocation(), Param->getType(), in SetParamDefaultArgument()
266 InitializationKind Kind = InitializationKind::CreateCopy(Param->getLocation(), in SetParamDefaultArgument()
402 SR = SourceRange((*Toks)[1].getLocation(), in CheckExtraCXXDefaultArguments()
403 Toks->back().getLocation()); in CheckExtraCXXDefaultArguments()
406 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) in CheckExtraCXXDefaultArguments()
411 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) in CheckExtraCXXDefaultArguments()
516 Diag(NewParam->getLocation(), DiagDefaultParamID) in MergeCXXFunctionDecl()
526 Diag(OldParam->getLocation(), diag::note_previous_definition) in MergeCXXFunctionDecl()
543 Diag(NewParam->getLocation(), in MergeCXXFunctionDecl()
546 Diag(Old->getLocation(), diag::note_template_prev_declaration) in MergeCXXFunctionDecl()
560 Diag(NewParam->getLocation(), diag::err_template_spec_default_arg) in MergeCXXFunctionDecl()
585 Diag(NewParam->getLocation(), in MergeCXXFunctionDecl()
603 Diag(NewParam->getLocation(), diag::err_default_arg_makes_ctor_special) in MergeCXXFunctionDecl()
605 Diag(Old->getLocation(), diag::note_previous_declaration); in MergeCXXFunctionDecl()
614 Diag(New->getLocation(), diag::err_constexpr_redecl_mismatch) in MergeCXXFunctionDecl()
616 Diag(Old->getLocation(), diag::note_previous_declaration); in MergeCXXFunctionDecl()
623 Diag(New->getLocation(), diag::err_inline_decl_follows_def) << New; in MergeCXXFunctionDecl()
624 Diag(Def->getLocation(), diag::note_previous_definition); in MergeCXXFunctionDecl()
634 Diag(New->getLocation(), diag::err_friend_decl_with_def_arg_redeclared); in MergeCXXFunctionDecl()
635 Diag(Old->getLocation(), diag::note_previous_declaration); in MergeCXXFunctionDecl()
681 OldType->getAs<FunctionProtoType>(), Old->getLocation(), in MergeVarDeclExceptionSpecs()
682 NewType->getAs<FunctionProtoType>(), New->getLocation())) { in MergeVarDeclExceptionSpecs()
714 Diag(Param->getLocation(), in CheckCXXDefaultArguments()
718 Diag(Param->getLocation(), in CheckCXXDefaultArguments()
750 SourceLocation ParamLoc = PD->getLocation(); in CheckConstexprParameterTypes()
790 Diag(NewFD->getLocation(), diag::err_constexpr_virtual_base) in CheckConstexprFunctionDecl()
807 Diag(NewFD->getLocation(), diag::err_constexpr_virtual); in CheckConstexprFunctionDecl()
815 Diag(WrittenVirtual->getLocation(), in CheckConstexprFunctionDecl()
823 RequireLiteralType(NewFD->getLocation(), RT, in CheckConstexprFunctionDecl()
899 SemaRef.Diag(VD->getLocation(), in CheckConstexprDeclStmt()
907 VD->getLocation(), VD->getType(), in CheckConstexprDeclStmt()
913 SemaRef.Diag(VD->getLocation(), in CheckConstexprDeclStmt()
919 SemaRef.Diag(VD->getLocation(), in CheckConstexprDeclStmt()
975 SemaRef.Diag(Dcl->getLocation(), diag::err_constexpr_ctor_missing_init); in CheckConstexprCtorInitializer()
978 SemaRef.Diag(Field->getLocation(), diag::note_constexpr_ctor_missing_init); in CheckConstexprCtorInitializer()
1156 Diag(Dcl->getLocation(), diag::err_constexpr_union_ctor_no_init); in CheckConstexprFunctionBody()
1207 Diag(Dcl->getLocation(), in CheckConstexprFunctionBody()
1234 Diag(Dcl->getLocation(), diag::ext_constexpr_function_never_constant_expr) in CheckConstexprFunctionBody()
1362 S.Diag(ClassAttr->getLocation(), diag::note_attribute); in propagateDLLAttrToBaseClassTemplate()
1364 S.Diag(BaseTemplateSpec->getLocation(), in propagateDLLAttrToBaseClassTemplate()
1389 Diag(Class->getLocation(), diag::err_base_clause_on_union) in CheckBaseSpecifier()
1415 Diag(BaseDecl->getLocation(), diag::note_previous_decl) in CheckBaseSpecifier()
1487 Diag(CXXBaseDecl->getLocation(), diag::note_entity_declared_at) in CheckBaseSpecifier()
1914 Diag(OA->getLocation(), in CheckOverrideControl()
1918 Diag(FA->getLocation(), in CheckOverrideControl()
1933 Diag(OA->getLocation(), in CheckOverrideControl()
1935 << "override" << FixItHint::CreateRemoval(OA->getLocation()); in CheckOverrideControl()
1939 Diag(FA->getLocation(), in CheckOverrideControl()
1942 << FixItHint::CreateRemoval(FA->getLocation()); in CheckOverrideControl()
1955 Diag(MD->getLocation(), diag::err_function_marked_override_not_overriding) in CheckOverrideControl()
1967 SourceLocation Loc = MD->getLocation(); in DiagnoseAbsenceOfOverrideControl()
1976 Diag(MD->getLocation(), diag::warn_function_marked_not_override_overriding) in DiagnoseAbsenceOfOverrideControl()
1979 Diag(OMD->getLocation(), diag::note_overridden_virtual_function); in DiagnoseAbsenceOfOverrideControl()
1992 Diag(New->getLocation(), diag::err_final_function_overridden) in CheckIfOverriddenFunctionIsMarkedFinal()
1995 Diag(Old->getLocation(), diag::note_overridden_virtual_function); in CheckIfOverriddenFunctionIsMarkedFinal()
2277 if (!Diags.isIgnored(diag::warn_unused_private_field, FD->getLocation())) { in ActOnCXXMemberDeclarator()
2435 S.Diag(Constructor->getLocation(), in HandleMemberExpr()
2639 Constructor->getLocation())) { in DiagnoseUninitializedFields()
3013 MarkAnyDeclReferenced(TyD->getLocation(), TyD, /*OdrUse=*/false); in BuildMemInitializer()
3070 S.Diag(Member->getLocation(), diag::note_ref_or_ptr_member_declared_here) in CheckForDanglingReferenceOrPointer()
3394 Constructor->getLocation(), SourceLocation(), SourceLocation()); in BuildImplicitBaseInitializer()
3403 = InitializationKind::CreateDefault(Constructor->getLocation()); in BuildImplicitBaseInitializer()
3418 Constructor->getLocation(), ParamType, in BuildImplicitBaseInitializer()
3440 = InitializationKind::CreateDirect(Constructor->getLocation(), in BuildImplicitBaseInitializer()
3478 SourceLocation Loc = Constructor->getLocation(); in BuildImplicitMemberInitializer()
3658 SemaRef.Diag(Constructor->getLocation(), in BuildImplicitMemberInitializer()
3663 SemaRef.Diag(Field->getLocation(), diag::note_declared_at); in BuildImplicitMemberInitializer()
3668 SemaRef.Diag(Constructor->getLocation(), in BuildImplicitMemberInitializer()
3673 SemaRef.Diag(Field->getLocation(), diag::note_declared_at); in BuildImplicitMemberInitializer()
3831 SemaRef.BuildCXXDefaultInitExpr(Info.Ctor->getLocation(), Field); in CollectFieldInitializer()
4058 MarkBaseAndMemberDestructorsReferenced(Constructor->getLocation(), in SetCtorInitializers()
4352 CheckDestructorAccess(Field->getLocation(), Dtor, in MarkBaseAndMemberDestructorsReferenced()
4412 ClassDecl->getLocation(), Dtor, in MarkBaseAndMemberDestructorsReferenced()
4419 diag::err_access_dtor_vbase, 0, ClassDecl->getLocation(), in MarkBaseAndMemberDestructorsReferenced()
4541 Diag(SO->second.front().Method->getLocation(), in DiagnoseAbstractType()
4651 Info.S.Diag(Ctx->getLocation(), diag::err_array_of_abstract_type) in CheckPolymorphic()
4654 Info.S.Diag(Ctx->getLocation(), diag::err_abstract_type_in_decl) in CheckPolymorphic()
4736 S.Diag(Class->getLocation(), diag::err_attribute_dll_not_extern) in checkDLLAttribute()
4751 S.Diag(MemberAttr->getLocation(), in checkDLLAttribute()
4754 S.Diag(ClassAttr->getLocation(), diag::note_previous_attribute); in checkDLLAttribute()
4824 S.MarkFunctionReferenced(Class->getLocation(), MD); in checkDLLAttribute()
4836 S.MarkFunctionReferenced(Class->getLocation(), MD); in checkDLLAttribute()
4838 S.Diag(ClassAttr->getLocation(), diag::note_due_to_dllexported_class) in checkDLLAttribute()
4877 Diag(Record->getLocation(), diag::warn_no_constructor_for_refconst) in CheckCompletedCXXClass()
4882 Diag(F->getLocation(), diag::note_refconst_member_not_initialized) in CheckCompletedCXXClass()
4904 Diag(D->getLocation(), diag::err_member_name_of_class) in CheckCompletedCXXClass()
4916 Diag(dtor ? dtor->getLocation() : Record->getLocation(), in CheckCompletedCXXClass()
4922 Diag(Record->getLocation(), diag::warn_abstract_final_class) in CheckCompletedCXXClass()
4977 Diag(Record->getLocation(), diag::warn_cxx_ms_struct); in CheckCompletedCXXClass()
5216 Diag(MD->getLocation(), diag::err_defaulted_special_member_params) in CheckExplicitlyDefaultedSpecialMember()
5220 Diag(MD->getLocation(), diag::err_defaulted_special_member_variadic) in CheckExplicitlyDefaultedSpecialMember()
5240 Diag(MD->getLocation(), diag::err_defaulted_special_member_return_type) in CheckExplicitlyDefaultedSpecialMember()
5247 Diag(MD->getLocation(), diag::err_defaulted_special_member_quals) in CheckExplicitlyDefaultedSpecialMember()
5262 Diag(MD->getLocation(), in CheckExplicitlyDefaultedSpecialMember()
5269 Diag(MD->getLocation(), in CheckExplicitlyDefaultedSpecialMember()
5274 Diag(MD->getLocation(), in CheckExplicitlyDefaultedSpecialMember()
5284 Diag(MD->getLocation(), diag::err_defaulted_copy_assign_not_ref); in CheckExplicitlyDefaultedSpecialMember()
5342 SetDeclDeleted(MD, MD->getLocation()); in CheckExplicitlyDefaultedSpecialMember()
5347 Diag(MD->getLocation(), diag::err_out_of_line_default_deletes) << CSM; in CheckExplicitlyDefaultedSpecialMember()
5373 EPI.ExceptionSpec = computeImplicitExceptionSpec(*this, MD->getLocation(), MD) in CheckExplicitlyDefaultedMemberExceptionSpec()
5383 SpecifiedType, MD->getLocation()); in CheckExplicitlyDefaultedMemberExceptionSpec()
5421 ConstArg(false), Loc(MD->getLocation()), in SpecialMemberDeletionInfo()
5528 S.Diag(Field->getLocation(), in shouldDeleteForSubobjectCall()
5607 S.Diag(FD->getLocation(), diag::note_deleted_default_ctor_uninit_field) in shouldDeleteForField()
5619 S.Diag(FD->getLocation(), diag::note_deleted_default_ctor_uninit_field) in shouldDeleteForField()
5631 S.Diag(FD->getLocation(), diag::note_deleted_copy_ctor_rvalue_reference) in shouldDeleteForField()
5639 S.Diag(FD->getLocation(), diag::note_deleted_assign_field) in shouldDeleteForField()
5647 S.Diag(FD->getLocation(), diag::note_deleted_assign_field) in shouldDeleteForField()
5677 S.Diag(FieldRecord->getLocation(), in shouldDeleteForField()
5705 S.Diag(MD->getParent()->getLocation(), in shouldDeleteForAllConstMembers()
5732 Diag(RD->getLocation(), diag::note_lambda_decl); in ShouldDeleteSpecialMember()
5780 Diag(UserDeclaredMove->getLocation(), in ShouldDeleteSpecialMember()
5798 if (FindDeallocationFunction(MD->getLocation(), MD->getParent(), Name, in ShouldDeleteSpecialMember()
5801 Diag(RD->getLocation(), diag::note_deleted_dtor_no_operator_delete); in ShouldDeleteSpecialMember()
6014 S.Diag(CD->getLocation(), diag::note_user_declared_ctor); in checkTrivialSubobjectCall()
6020 S.Diag(Selected->getLocation(), diag::note_nontrivial_user_provided) in checkTrivialSubobjectCall()
6025 S.Diag(Selected->getLocation(), diag::note_declared_at); in checkTrivialSubobjectCall()
6065 S.Diag(FI->getLocation(), diag::note_nontrivial_in_class_init) << FI; in checkTrivialClassMembers()
6076 S.Diag(FI->getLocation(), diag::note_nontrivial_objc_ownership) in checkTrivialClassMembers()
6082 if (!checkTrivialSubobjectCall(S, FI->getLocation(), FieldType, ConstRHS, in checkTrivialClassMembers()
6096 checkTrivialSubobjectCall(*this, RD->getLocation(), Ty, ConstArg, CSM, in DiagnoseNontrivial()
6128 Diag(Param0->getLocation(), diag::note_nontrivial_param_type) in SpecialMemberIsTrivial()
6145 Diag(Param0->getLocation(), diag::note_nontrivial_param_type) in SpecialMemberIsTrivial()
6159 Diag(MD->getParamDecl(MD->getMinRequiredArguments())->getLocation(), in SpecialMemberIsTrivial()
6166 Diag(MD->getLocation(), diag::note_nontrivial_variadic); in SpecialMemberIsTrivial()
6204 Diag(MD->getLocation(), diag::note_nontrivial_virtual_dtor) << RD; in SpecialMemberIsTrivial()
6360 Diag(overloadedMD->getLocation(), PD); in NoteHiddenVirtualMethods()
6370 if (Diags.isIgnored(diag::warn_overloaded_virtual, MD->getLocation())) in DiagnoseHiddenVirtualMethods()
6376 Diag(MD->getLocation(), diag::warn_overloaded_virtual) in DiagnoseHiddenVirtualMethods()
6703 SourceLocation ParamLoc = Constructor->getParamDecl(0)->getLocation(); in CheckConstructor()
6727 Loc = Destructor->getLocation(); in CheckDestructor()
6729 Loc = RD->getLocation(); in CheckDestructor()
7070 Diag(Conversion->getLocation(), diag::warn_conv_to_self_not_used) in ActOnConversionDeclarator()
7073 Diag(Conversion->getLocation(), diag::warn_conv_to_base_not_used) in ActOnConversionDeclarator()
7076 Diag(Conversion->getLocation(), diag::warn_conv_to_void_not_used) in ActOnConversionDeclarator()
7127 S.Diag(PrevNS->getLocation(), diag::note_previous_definition); in DiagnoseNamespaceInlineMismatch()
7186 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnStartNamespaceDef()
7411 S.Diag(Found->getLocation(), diag::err_malformed_std_initializer_list); in LookupStdInitializerList()
7420 S.Diag(Template->getLocation(), diag::err_malformed_std_initializer_list); in LookupStdInitializerList()
7736 Diag(Using->getLocation(), in CheckUsingShadowDecl()
7739 Diag(Orig->getLocation(), diag::note_using_decl_target); in CheckUsingShadowDecl()
7748 Diag(Orig->getLocation(), diag::note_using_decl_target); in CheckUsingShadowDecl()
7789 Diag(Using->getLocation(), diag::err_using_decl_conflict); in CheckUsingShadowDecl()
7801 Diag(Using->getLocation(), diag::err_using_decl_conflict); in CheckUsingShadowDecl()
7805 Diag(Target->getLocation(), diag::note_using_decl_target); in CheckUsingShadowDecl()
7806 Diag(OldDecl->getLocation(), diag::note_using_decl_conflict); in CheckUsingShadowDecl()
7816 Diag(Using->getLocation(), diag::err_using_decl_conflict); in CheckUsingShadowDecl()
7817 Diag(Target->getLocation(), diag::note_using_decl_target); in CheckUsingShadowDecl()
7818 Diag(Tag->getLocation(), diag::note_using_decl_conflict); in CheckUsingShadowDecl()
7825 Diag(Using->getLocation(), diag::err_using_decl_conflict); in CheckUsingShadowDecl()
7826 Diag(Target->getLocation(), diag::note_using_decl_target); in CheckUsingShadowDecl()
7827 Diag(NonTag->getLocation(), diag::note_using_decl_conflict); in CheckUsingShadowDecl()
7846 UD->getLocation(), UD, Target); in BuildUsingShadowDecl()
8170 Diag((*I)->getUnderlyingDecl()->getLocation(), in BuildUsingDeclaration()
8180 Diag(R.getFoundDecl()->getLocation(), diag::note_using_decl_target); in BuildUsingDeclaration()
8293 Diag(D->getLocation(), diag::note_using_decl) << 1; in CheckUsingDeclRedeclaration()
8569 if (OldD->getLocation().isValid()) in ActOnAliasDeclaration()
8570 Diag(OldD->getLocation(), diag::note_previous_definition); in ActOnAliasDeclaration()
8590 Diag(NewTD->getLocation(), diag::err_redefinition_different_typedef) in ActOnAliasDeclaration()
8592 if (OldTD->getLocation().isValid()) in ActOnAliasDeclaration()
8593 Diag(OldTD->getLocation(), diag::note_previous_definition); in ActOnAliasDeclaration()
8671 Diag(PrevDecl->getLocation(), diag::note_previous_namespace_alias) in ActOnNamespaceAliasDef()
8680 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnNamespaceAliasDef()
8753 ExceptSpec.CalledDecl(F->getLocation(), Constructor); in ComputeDefaultedDefaultCtorExceptionSpec()
8815 ExceptSpec.CalledDecl(F->getLocation(), Constructor); in ComputeInheritingCtorExceptionSpec()
8874 SourceLocation ClassLoc = ClassDecl->getLocation(); in DeclareImplicitDefaultConstructor()
8940 : Constructor->getLocation(); in DefineImplicitDefaultConstructor()
9055 SemaRef.Diag(Ctor->getLocation(), in inherit()
9090 return Decls.empty() ? Derived->getLocation() : Decls[0]->getLocation(); in getUsingLoc()
9140 SemaRef.Diag(BaseCtor->getLocation(), in declareCtor()
9142 SemaRef.Diag(Entry.BaseCtor->getLocation(), in declareCtor()
9144 SemaRef.Diag(Entry.DerivedCtor->getLocation(), in declareCtor()
9275 SourceLocation Loc = Constructor->getLocation(); in DefineInheritingConstructor()
9319 ExceptSpec.CalledDecl(F->getLocation(), in ComputeDefaultedDtorExceptionSpec()
9340 SourceLocation ClassLoc = ClassDecl->getLocation(); in DeclareImplicitDestructor()
9397 MarkBaseAndMemberDestructorsReferenced(Destructor->getLocation(), in DefineImplicitDestructor()
9415 : Destructor->getLocation(); in DefineImplicitDestructor()
9459 Expr *DefaultArg = S.BuildCXXDefaultArgExpr(Class->getLocation(), CD, in getDefaultArgExprsForConstructors()
9978 ExceptSpec.CalledDecl(Field->getLocation(), CopyAssign); in ComputeDefaultedCopyAssignmentExceptionSpec()
10010 SourceLocation ClassLoc = ClassDecl->getLocation(); in DeclareImplicitCopyAssignment()
10099 S.Diag(UserDeclaredOperation->getLocation(), in diagnoseDeprecatedCopyOperation()
10162 : CopyAssignOperator->getLocation(); in DefineImplicitCopyAssignment()
10224 Diag(ClassDecl->getLocation(), diag::err_uninitialized_member_for_assign) in DefineImplicitCopyAssignment()
10226 Diag(Field->getLocation(), diag::note_declared_at); in DefineImplicitCopyAssignment()
10236 Diag(ClassDecl->getLocation(), diag::err_uninitialized_member_for_assign) in DefineImplicitCopyAssignment()
10238 Diag(Field->getLocation(), diag::note_declared_at); in DefineImplicitCopyAssignment()
10371 ExceptSpec.CalledDecl(Field->getLocation(), MoveAssign); in ComputeDefaultedMoveAssignmentExceptionSpec()
10399 SourceLocation ClassLoc = ClassDecl->getLocation(); in DeclareImplicitMoveAssignment()
10581 : MoveAssignOperator->getLocation(); in DefineImplicitMoveAssignment()
10654 Diag(ClassDecl->getLocation(), diag::err_uninitialized_member_for_assign) in DefineImplicitMoveAssignment()
10656 Diag(Field->getLocation(), diag::note_declared_at); in DefineImplicitMoveAssignment()
10666 Diag(ClassDecl->getLocation(), diag::err_uninitialized_member_for_assign) in DefineImplicitMoveAssignment()
10668 Diag(Field->getLocation(), diag::note_declared_at); in DefineImplicitMoveAssignment()
10798 ExceptSpec.CalledDecl(Field->getLocation(), CopyConstructor); in ComputeDefaultedCopyCtorExceptionSpec()
10830 SourceLocation ClassLoc = ClassDecl->getLocation(); in DeclareImplicitCopyConstructor()
10910 : CopyConstructor->getLocation(); in DefineImplicitCopyConstructor()
10981 ExceptSpec.CalledDecl(F->getLocation(), Constructor); in ComputeDefaultedMoveCtorExceptionSpec()
11006 SourceLocation ClassLoc = ClassDecl->getLocation(); in DeclareImplicitMoveConstructor()
11082 : MoveConstructor->getLocation(); in DefineImplicitMoveConstructor()
11158 VK_LValue, Conv->getLocation()).get(); in DefineImplicitLambdaToFunctionPointerConversion()
11160 Stmt *Return = BuildReturnStmt(Conv->getLocation(), FunctionRef).get(); in DefineImplicitLambdaToFunctionPointerConversion()
11162 Conv->getLocation(), in DefineImplicitLambdaToFunctionPointerConversion()
11163 Conv->getLocation())); in DefineImplicitLambdaToFunctionPointerConversion()
11172 Invoker->setBody(new (Context) CompoundStmt(Conv->getLocation())); in DefineImplicitLambdaToFunctionPointerConversion()
11198 Conv->getLocation(), in DefineImplicitLambdaToBlockPointerConversion()
11218 StmtResult Return = BuildReturnStmt(Conv->getLocation(), BuildBlock.get()); in DefineImplicitLambdaToBlockPointerConversion()
11228 Conv->getLocation(), in DefineImplicitLambdaToBlockPointerConversion()
11229 Conv->getLocation())); in DefineImplicitLambdaToBlockPointerConversion()
11371 MarkFunctionReferenced(VD->getLocation(), Destructor); in FinalizeVarWithDestructor()
11372 CheckDestructorAccess(VD->getLocation(), Destructor, in FinalizeVarWithDestructor()
11376 DiagnoseUseOfDecl(Destructor, VD->getLocation()); in FinalizeVarWithDestructor()
11383 Diag(VD->getLocation(), diag::warn_exit_time_destructor); in FinalizeVarWithDestructor()
11387 Diag(VD->getLocation(), diag::warn_global_destructor); in FinalizeVarWithDestructor()
11442 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope()
11449 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope()
11468 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteTypes()
11474 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteTypes()
11480 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteTypes()
11486 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteTypes()
11493 return SemaRef.Diag(FnDecl->getLocation(), DependentParamTypeDiag) in CheckOperatorNewDeleteTypes()
11499 return SemaRef.Diag(FnDecl->getLocation(), InvalidParamTypeDiag) in CheckOperatorNewDeleteTypes()
11529 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeclaration()
11585 return Diag(FnDecl->getLocation(), in CheckOverloadedOperatorDeclaration()
11599 return Diag(FnDecl->getLocation(), in CheckOverloadedOperatorDeclaration()
11613 return Diag(Param->getLocation(), in CheckOverloadedOperatorDeclaration()
11652 return Diag(FnDecl->getLocation(), diag::err_operator_overload_must_be) in CheckOverloadedOperatorDeclaration()
11659 return Diag(FnDecl->getLocation(), diag::err_operator_overload_variadic) in CheckOverloadedOperatorDeclaration()
11665 return Diag(FnDecl->getLocation(), in CheckOverloadedOperatorDeclaration()
11686 return Diag(LastParam->getLocation(), in CheckOverloadedOperatorDeclaration()
11699 Diag(FnDecl->getLocation(), diag::err_literal_operator_outside_namespace) in CheckLiteralOperatorDeclaration()
11705 Diag(FnDecl->getLocation(), diag::err_literal_operator_extern_c); in CheckLiteralOperatorDeclaration()
11749 Diag(FnDecl->getLocation(), in CheckLiteralOperatorDeclaration()
11811 Diag(FnDecl->getLocation(), diag::err_literal_operator_params) in CheckLiteralOperatorDeclaration()
11833 Diag(FnDecl->getLocation(), diag::warn_user_literal_reserved) in CheckLiteralOperatorDeclaration()
12053 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in ActOnExceptionDeclarator()
12707 Diag(FD->getLocation(), diag::err_friend_decl_with_def_arg_redeclared); in ActOnFriendFunctionDecl()
12708 Diag(OldFD->getLocation(), diag::note_previous_declaration); in ActOnFriendFunctionDecl()
12710 Diag(FD->getLocation(), diag::err_friend_decl_with_def_arg_must_be_def); in ActOnFriendFunctionDecl()
12715 Diag(FD->getLocation(), diag::warn_template_qualified_friend_unsupported) in ActOnFriendFunctionDecl()
12741 Diag(Prev->getLocation().isInvalid() ? DelLoc : Prev->getLocation(), in SetDeclDeleted()
12752 Diag(Fn->getLocation(), diag::err_attribute_dll_deleted) << DLLAttr; in SetDeclDeleted()
12771 Diag((*I)->getLocation(), diag::note_overridden_virtual_function); in SetDeclDeleted()
12889 Diag(New->getLocation(), in CheckOverridingFunctionAttributes()
12892 Diag(Old->getLocation(), diag::note_overridden_virtual_function); in CheckOverridingFunctionAttributes()
12925 Diag(New->getLocation(), in CheckOverridingFunctionReturnType()
12929 Diag(Old->getLocation(), diag::note_overridden_virtual_function) in CheckOverridingFunctionReturnType()
12941 RequireCompleteType(New->getLocation(), NewClassTy, in CheckOverridingFunctionReturnType()
12950 Diag(New->getLocation(), diag::err_covariant_return_not_derived) in CheckOverridingFunctionReturnType()
12953 Diag(Old->getLocation(), diag::note_overridden_virtual_function) in CheckOverridingFunctionReturnType()
12963 New->getLocation(), New->getReturnTypeSourceRange(), in CheckOverridingFunctionReturnType()
12969 Diag(Old->getLocation(), diag::note_overridden_virtual_function) in CheckOverridingFunctionReturnType()
12977 Diag(New->getLocation(), in CheckOverridingFunctionReturnType()
12981 Diag(Old->getLocation(), diag::note_overridden_virtual_function) in CheckOverridingFunctionReturnType()
12989 Diag(New->getLocation(), in CheckOverridingFunctionReturnType()
12993 Diag(Old->getLocation(), diag::note_overridden_virtual_function) in CheckOverridingFunctionReturnType()
13017 Diag(Method->getLocation(), diag::err_non_virtual_pure) in CheckPureMethod()
13086 Diag(Dcl->getLocation(), diag::err_invalid_use_of_function_type) in ActOnCXXConditionDeclaration()
13245 Diag(Class->getLocation(), Class->getTemplateSpecializationKind() == in DefineUsedVTables()
13316 InitializationKind::CreateDefault(ObjCImplementation->getLocation()); in SetIvarInitializers()
13340 MarkFunctionReferenced(Field->getLocation(), Destructor); in SetIvarInitializers()
13341 CheckDestructorAccess(Field->getLocation(), Destructor, in SetIvarInitializers()
13395 S.Diag(Target->getLocation(), diag::note_it_delegates_to); in DelegatingCycleHelper()
13405 S.Diag(C->getLocation(), diag::note_which_delegates_to); in DelegatingCycleHelper()
13441 S.Diag(E->getLocation(), diag::err_this_static_member_func) in VisitCXXThisExpr()