Lines Matching refs:diag
238 Diag(IILoc, diag::err_template_kw_missing) in DiagnoseUnknownTemplateName()
339 diagnoseTypo(Corrected, PDiag(diag::err_no_member_template_suggest) in LookupTemplateName()
343 diagnoseTypo(Corrected, PDiag(diag::err_no_template_suggest) << Name); in LookupTemplateName()
388 diag::ext_nested_name_member_ref_lookup_ambiguous) in LookupTemplateName()
392 diag::note_ambig_member_ref_object_type) in LookupTemplateName()
395 diag::note_ambig_member_ref_scope); in LookupTemplateName()
457 Diag(Loc, diag::err_template_param_shadow) in DiagnoseTemplateParameterShadow()
459 Diag(PrevDecl->getLocation(), diag::note_template_param_here); in DiagnoseTemplateParameterShadow()
584 Diag(EqualLoc, diag::err_template_param_pack_default_arg); in ActOnTypeParameter()
622 Diag(Loc, diag::err_variably_modified_nontype_template_param) in CheckNonTypeTemplateParameterType()
658 Diag(Loc, diag::err_template_nontype_parm_bad_type) in CheckNonTypeTemplateParameterType()
708 Diag(EqualLoc, diag::err_template_param_pack_default_arg); in ActOnNonTypeTemplateParameter()
768 Diag(Param->getLocation(), diag::err_template_template_parm_no_parms) in ActOnTemplateTemplateParameter()
777 Diag(EqualLoc, diag::err_template_param_pack_default_arg); in ActOnTemplateTemplateParameter()
792 Diag(DefaultArg.getLocation(), diag::err_template_arg_not_class_template) in ActOnTemplateTemplateParameter()
819 Diag(ExportLoc, diag::warn_template_export_unsupported); in ActOnTemplateParameterList()
856 Diag(KWLoc, diag::err_template_unnamed_class); in CheckClassTemplate()
875 ? diag::warn_template_qualified_friend_ignored in CheckClassTemplate()
876 : diag::err_template_qualified_declarator_no_match) in CheckClassTemplate()
988 Diag(KWLoc, diag::err_use_with_wrong_tag) in CheckClassTemplate()
991 Diag(PrevRecordDecl->getLocation(), diag::note_previous_use); in CheckClassTemplate()
1015 Diag(NameLoc, diag::err_redefinition) << Name; in CheckClassTemplate()
1016 Diag(Def->getLocation(), diag::note_previous_definition); in CheckClassTemplate()
1033 Diag(NameLoc, diag::err_redefinition_different_kind) << Name; in CheckClassTemplate()
1034 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in CheckClassTemplate()
1058 Diag(NameLoc, TUK == TUK_Friend ? diag::err_friend_decl_does_not_match in CheckClassTemplate()
1059 : diag::err_member_decl_does_not_match) in CheckClassTemplate()
1187 diag::warn_cxx98_compat_template_parameter_default_in_function_template in DiagnoseDefaultTemplateArgument()
1188 : diag::ext_template_parameter_default_in_function_template) in DiagnoseDefaultTemplateArgument()
1197 S.Diag(ParamLoc, diag::err_template_parameter_default_template_member) in DiagnoseDefaultTemplateArgument()
1206 S.Diag(ParamLoc, diag::err_template_parameter_default_friend_template) in DiagnoseDefaultTemplateArgument()
1447 diag::err_template_param_pack_must_be_last_template_parameter); in CheckTemplateParameterList()
1455 Diag(NewDefaultLoc, diag::err_template_param_default_arg_redefinition); in CheckTemplateParameterList()
1456 Diag(OldDefaultLoc, diag::note_template_param_prev_default_arg); in CheckTemplateParameterList()
1465 diag::err_template_param_default_arg_missing); in CheckTemplateParameterList()
1466 Diag(PreviousDefaultArgLoc, diag::note_template_param_prev_default_arg); in CheckTemplateParameterList()
1741 Diag(DeclLoc, diag::err_specialize_member_of_template) in MatchTemplateParametersToScopeSpecifier()
1763 Diag(DeclLoc, diag::err_template_spec_needs_header) in MatchTemplateParametersToScopeSpecifier()
1856 diag::err_template_param_list_matches_nontemplate) in MatchTemplateParametersToScopeSpecifier()
1908 Diag(DeclLoc, diag::err_template_spec_needs_template_parameters) in MatchTemplateParametersToScopeSpecifier()
1948 AllExplicitSpecHeaders ? diag::warn_template_spec_extra_headers in MatchTemplateParametersToScopeSpecifier()
1949 : diag::err_template_spec_extra_headers) in MatchTemplateParametersToScopeSpecifier()
1958 diag::note_explicit_template_spec_does_not_need_header) in MatchTemplateParametersToScopeSpecifier()
1987 Diag(Template->getLocation(), diag::note_template_declared_here) in NoteAllFoundTemplates()
2003 Diag((*I)->getLocation(), diag::note_template_declared_here) in NoteAllFoundTemplates()
2033 Diag(TemplateLoc, diag::err_template_id_not_a_type) in CheckTemplateIdType()
2287 Diag(TemplateLoc, diag::err_tag_reference_non_tag) << 4; in ActOnTagTemplateIdType()
2288 Diag(TAT->getLocation(), diag::note_declared_at); in ActOnTagTemplateIdType()
2304 Diag(TagLoc, diag::err_use_with_wrong_tag) in ActOnTagTemplateIdType()
2307 Diag(D->getLocation(), diag::note_previous_use); in ActOnTagTemplateIdType()
2443 return Diag(D.getIdentifierLoc(), diag::err_var_spec_no_template_but_method) in ActOnVarTemplateSpecialization()
2445 return Diag(D.getIdentifierLoc(), diag::err_var_spec_no_template) in ActOnVarTemplateSpecialization()
2494 Diag(TemplateNameLoc, diag::err_partial_spec_fully_specialized) in ActOnVarTemplateSpecialization()
2505 Diag(TemplateNameLoc, diag::err_partial_spec_args_match_primary_template) in ActOnVarTemplateSpecialization()
2571 Diag(TemplateNameLoc, diag::warn_partial_specs_not_deducible) in ActOnVarTemplateSpecialization()
2578 Diag(Param->getLocation(), diag::note_partial_spec_unused_parameter) in ActOnVarTemplateSpecialization()
2581 Diag(Param->getLocation(), diag::note_partial_spec_unused_parameter) in ActOnVarTemplateSpecialization()
2616 Diag(TemplateNameLoc, diag::err_specialization_after_instantiation) in ActOnVarTemplateSpecialization()
2620 diag::note_instantiation_required_here) in ActOnVarTemplateSpecialization()
2799 Diag(PointOfInstantiation, diag::err_partial_spec_ordering_ambiguous) in CheckVarTemplateId()
2806 Diag(P->Partial->getLocation(), diag::note_partial_spec_match) in CheckVarTemplateId()
2907 Diag(NameInfo.getLoc(), diag::err_template_kw_refers_to_non_template) in BuildQualifiedTemplateIdExpr()
2913 Diag(NameInfo.getLoc(), diag::err_template_kw_refers_to_class_template) in BuildQualifiedTemplateIdExpr()
2916 Diag(Temp->getLocation(), diag::note_referenced_class_template); in BuildQualifiedTemplateIdExpr()
2940 diag::warn_cxx98_compat_template_outside_of_template : in ActOnDependentTemplateName()
2941 diag::ext_template_outside_of_template) in ActOnDependentTemplateName()
2977 diag::err_template_kw_refers_to_non_template) in ActOnDependentTemplateName()
3009 diag::err_template_kw_refers_to_non_template) in ActOnDependentTemplateName()
3037 Diag(SR.getBegin(), diag::err_template_missing_args) in CheckTemplateTypeArgument()
3040 Diag(Decl->getLocation(), diag::note_template_decl_here); in CheckTemplateTypeArgument()
3075 ? diag::ext_ms_template_type_arg_missing_typename in CheckTemplateTypeArgument()
3076 : diag::err_template_arg_must_be_type_suggest) in CheckTemplateTypeArgument()
3078 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateTypeArgument()
3105 Diag(SR.getBegin(), diag::err_template_arg_must_be_type) << SR; in CheckTemplateTypeArgument()
3106 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateTypeArgument()
3519 Diag(Arg.getLocation(), diag::err_template_arg_must_be_expr) in CheckTemplateArgument()
3522 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
3539 Diag(SR.getBegin(), diag::err_template_arg_nontype_ambig) << SR << T; in CheckTemplateArgument()
3541 Diag(SR.getBegin(), diag::err_template_arg_must_be_expr) << SR; in CheckTemplateArgument()
3542 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
3594 Diag(Arg.getLocation(), diag::err_template_arg_must_be_template) in CheckTemplateArgument()
3624 S.Diag(TemplateLoc, diag::err_template_arg_list_different_arity) in diagnoseArityMismatch()
3630 S.Diag(Template->getLocation(), diag::note_template_decl_here) in diagnoseArityMismatch()
3707 Diag(TemplateLoc, diag::err_template_arg_list_different_arity) in CheckTemplateArgumentList()
3713 Diag(Template->getLocation(), diag::note_template_decl_here) in CheckTemplateArgumentList()
3734 diag::err_alias_template_expansion_into_fixed_list) in CheckTemplateArgumentList()
3736 Diag((*Param)->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentList()
4112 diag::warn_cxx98_compat_template_arg_local_type : in VisitTagDecl()
4113 diag::ext_template_arg_local_type) in VisitTagDecl()
4121 diag::warn_cxx98_compat_template_arg_unnamed_type : in VisitTagDecl()
4122 diag::ext_template_arg_unnamed_type) << SR; in VisitTagDecl()
4123 S.Diag(Tag->getLocation(), diag::note_template_unnamed_type_here); in VisitTagDecl()
4163 return Diag(SR.getBegin(), diag::err_variably_modified_template_arg) << Arg; in CheckTemplateArgument()
4165 return Diag(SR.getBegin(), diag::err_template_arg_overload_type) << SR; in CheckTemplateArgument()
4178 !Diags.isIgnored(diag::warn_cxx98_compat_template_arg_unnamed_type, in CheckTemplateArgument()
4180 !Diags.isIgnored(diag::warn_cxx98_compat_template_arg_local_type, in CheckTemplateArgument()
4227 diag::note_invalid_subexpr_in_const_expr) { in isNullPointerValueTemplateArgument()
4232 S.Diag(DiagLoc, diag::err_template_arg_not_address_constant) in isNullPointerValueTemplateArgument()
4237 S.Diag(Param->getLocation(), diag::note_template_param_here); in isNullPointerValueTemplateArgument()
4261 S.Diag(Arg->getExprLoc(), diag::err_template_arg_wrongtype_null_constant) in isNullPointerValueTemplateArgument()
4263 S.Diag(Param->getLocation(), diag::note_template_param_here); in isNullPointerValueTemplateArgument()
4271 S.Diag(Arg->getExprLoc(), diag::err_template_arg_untyped_null_constant) in isNullPointerValueTemplateArgument()
4275 S.Diag(Param->getLocation(), diag::note_template_param_here); in isNullPointerValueTemplateArgument()
4314 diag::err_template_arg_ref_bind_ignores_quals) in CheckTemplateArgumentIsCompatibleWithParameter()
4316 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentIsCompatibleWithParameter()
4329 S.Diag(Arg->getLocStart(), diag::err_template_arg_no_ref_bind) in CheckTemplateArgumentIsCompatibleWithParameter()
4332 S.Diag(Arg->getLocStart(), diag::err_template_arg_not_convertible) in CheckTemplateArgumentIsCompatibleWithParameter()
4334 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentIsCompatibleWithParameter()
4379 S.Diag(ArgIn->getLocStart(), diag::ext_ms_deref_template_argument) in CheckTemplateArgumentAddressOfObjectOrFunction()
4388 S.Diag(Arg->getLocStart(), diag::err_template_arg_not_decl_ref) in CheckTemplateArgumentAddressOfObjectOrFunction()
4415 ? diag::warn_cxx98_compat_template_arg_extra_parens in CheckTemplateArgumentAddressOfObjectOrFunction()
4416 : diag::ext_template_arg_extra_parens) in CheckTemplateArgumentAddressOfObjectOrFunction()
4455 S.Diag(Arg->getExprLoc(), diag::warn_cxx98_compat_template_arg_null); in CheckTemplateArgumentAddressOfObjectOrFunction()
4485 S.Diag(Arg->getLocStart(), diag::err_template_arg_not_decl_ref) in CheckTemplateArgumentAddressOfObjectOrFunction()
4487 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4493 S.Diag(Arg->getLocStart(), diag::err_template_arg_field) in CheckTemplateArgumentAddressOfObjectOrFunction()
4495 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4502 S.Diag(Arg->getLocStart(), diag::err_template_arg_method) in CheckTemplateArgumentAddressOfObjectOrFunction()
4504 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4515 S.Diag(Arg->getLocStart(), diag::err_template_arg_not_object_or_func) in CheckTemplateArgumentAddressOfObjectOrFunction()
4517 S.Diag(DRE->getDecl()->getLocation(), diag::note_template_arg_refers_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4524 diag::warn_cxx98_compat_template_arg_object_internal : in CheckTemplateArgumentAddressOfObjectOrFunction()
4525 diag::ext_template_arg_object_internal) in CheckTemplateArgumentAddressOfObjectOrFunction()
4527 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object) in CheckTemplateArgumentAddressOfObjectOrFunction()
4530 S.Diag(Arg->getLocStart(), diag::err_template_arg_object_no_linkage) in CheckTemplateArgumentAddressOfObjectOrFunction()
4532 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object) in CheckTemplateArgumentAddressOfObjectOrFunction()
4547 S.Diag(AddrOpLoc, diag::err_template_arg_address_of_non_pointer) in CheckTemplateArgumentAddressOfObjectOrFunction()
4549 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4553 S.Diag(AddrOpLoc, diag::err_template_arg_address_of_non_pointer) in CheckTemplateArgumentAddressOfObjectOrFunction()
4556 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4564 diag::err_template_arg_reference_var) in CheckTemplateArgumentAddressOfObjectOrFunction()
4566 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4572 S.Diag(Arg->getLocStart(), diag::err_template_arg_thread_local) in CheckTemplateArgumentAddressOfObjectOrFunction()
4574 S.Diag(Var->getLocation(), diag::note_template_arg_refers_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4587 S.Diag(AddrOpLoc, diag::err_template_arg_address_of_non_pointer) in CheckTemplateArgumentAddressOfObjectOrFunction()
4589 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4593 S.Diag(AddrOpLoc, diag::err_template_arg_address_of_non_pointer) in CheckTemplateArgumentAddressOfObjectOrFunction()
4596 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4610 S.Diag(Arg->getLocStart(), diag::err_template_arg_not_address_of) in CheckTemplateArgumentAddressOfObjectOrFunction()
4612 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4616 S.Diag(Arg->getLocStart(), diag::err_template_arg_not_address_of) in CheckTemplateArgumentAddressOfObjectOrFunction()
4620 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4651 S.Diag(Arg->getExprLoc(), diag::warn_cxx98_compat_template_arg_null); in CheckTemplateArgumentPointerToMember()
4671 S.Diag(Arg->getLocStart(), diag::err_template_arg_not_convertible) in CheckTemplateArgumentPointerToMember()
4673 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentPointerToMember()
4696 diag::warn_cxx98_compat_template_arg_extra_parens : in CheckTemplateArgumentPointerToMember()
4697 diag::ext_template_arg_extra_parens) in CheckTemplateArgumentPointerToMember()
4738 diag::err_template_arg_not_pointer_to_member_form) in CheckTemplateArgumentPointerToMember()
4762 diag::err_template_arg_not_pointer_to_member_form) in CheckTemplateArgumentPointerToMember()
4764 S.Diag(DRE->getDecl()->getLocation(), diag::note_template_arg_refers_here); in CheckTemplateArgumentPointerToMember()
4803 Diag(StartLoc, diag::err_deduced_non_type_template_arg_type_mismatch) in CheckTemplateArgument()
4806 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
4845 diag::err_template_arg_member_ptr_base_derived_not_supported) in CheckTemplateArgument()
4870 Diag(Arg->getLocStart(), diag::err_template_arg_not_decl_ref) in CheckTemplateArgument()
4886 Diag(StartLoc, diag::err_non_type_template_arg_subobject) in CheckTemplateArgument()
4899 return Diag(StartLoc, diag::err_non_type_template_arg_addr_label_diff); in CheckTemplateArgument()
4984 diag::err_template_arg_not_integral_or_enumeral) in CheckTemplateArgument()
4986 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
4997 S.Diag(Loc, diag::err_template_arg_not_ice) << T << SR; in CheckTemplateArgument()
5024 diag::err_template_arg_not_convertible) in CheckTemplateArgument()
5026 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
5064 Diag(Arg->getLocStart(), diag::warn_template_arg_negative) in CheckTemplateArgument()
5067 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
5080 diag::warn_template_arg_too_large) in CheckTemplateArgument()
5083 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
5203 Diag(Arg->getExprLoc(), diag::err_template_arg_not_convertible) in CheckTemplateArgument()
5205 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
5212 Diag(Arg->getExprLoc(), diag::warn_cxx98_compat_template_arg_null); in CheckTemplateArgument()
5262 Diag(Arg.getLocation(), diag::err_template_arg_not_class_template); in CheckTemplateArgument()
5263 Diag(Template->getLocation(), diag::note_template_arg_refers_here_func) in CheckTemplateArgument()
5466 unsigned NextDiag = diag::err_template_param_different_kind; in MatchTemplateParameterKind()
5468 S.Diag(TemplateArgLoc, diag::err_template_arg_template_params_mismatch); in MatchTemplateParameterKind()
5469 NextDiag = diag::note_template_param_different_kind; in MatchTemplateParameterKind()
5473 S.Diag(Old->getLocation(), diag::note_template_prev_declaration) in MatchTemplateParameterKind()
5488 unsigned NextDiag = diag::err_template_parameter_pack_non_pack; in MatchTemplateParameterKind()
5491 diag::err_template_arg_template_params_mismatch); in MatchTemplateParameterKind()
5492 NextDiag = diag::note_template_parameter_pack_non_pack; in MatchTemplateParameterKind()
5500 S.Diag(Old->getLocation(), diag::note_template_parameter_pack_here) in MatchTemplateParameterKind()
5523 unsigned NextDiag = diag::err_template_nontype_parm_different_type; in MatchTemplateParameterKind()
5526 diag::err_template_arg_template_params_mismatch); in MatchTemplateParameterKind()
5527 NextDiag = diag::note_template_nontype_parm_different_type; in MatchTemplateParameterKind()
5533 diag::note_template_nontype_parm_prev_declaration) in MatchTemplateParameterKind()
5569 unsigned NextDiag = diag::err_template_param_list_different_arity; in DiagnoseTemplateParameterListArityMismatch()
5571 S.Diag(TemplateArgLoc, diag::err_template_arg_template_params_mismatch); in DiagnoseTemplateParameterListArityMismatch()
5572 NextDiag = diag::note_template_param_list_different_arity; in DiagnoseTemplateParameterListArityMismatch()
5578 S.Diag(Old->getTemplateLoc(), diag::note_template_prev_declaration) in DiagnoseTemplateParameterListArityMismatch()
5693 return Diag(TemplateParams->getTemplateLoc(), diag::err_template_linkage) in CheckTemplateDeclScope()
5710 diag::err_template_inside_local_class) in CheckTemplateDeclScope()
5718 diag::err_template_outside_namespace_or_class_scope) in CheckTemplateDeclScope()
5785 S.Diag(Loc, diag::err_template_spec_unknown_kind) in CheckTemplateSpecializationScope()
5787 S.Diag(Specialized->getLocation(), diag::note_specialized_entity); in CheckTemplateSpecializationScope()
5805 S.Diag(Loc, diag::err_template_spec_decl_function_scope) in CheckTemplateSpecializationScope()
5816 S.Diag(Loc, diag::ext_function_specialization_in_class) in CheckTemplateSpecializationScope()
5819 S.Diag(Loc, diag::err_template_spec_decl_class_scope) in CheckTemplateSpecializationScope()
5829 S.Diag(Loc, diag::err_template_spec_decl_class_scope) in CheckTemplateSpecializationScope()
5855 S.Diag(Loc, diag::err_template_spec_redecl_global_scope) in CheckTemplateSpecializationScope()
5858 int Diag = diag::err_template_spec_redecl_out_of_scope; in CheckTemplateSpecializationScope()
5860 Diag = diag::ext_ms_template_spec_redecl_out_of_scope; in CheckTemplateSpecializationScope()
5866 S.Diag(Specialized->getLocation(), diag::note_specialized_entity); in CheckTemplateSpecializationScope()
5890 S.Diag(Loc, diag::err_template_spec_decl_out_of_scope_global) in CheckTemplateSpecializationScope()
5895 Diag = diag::err_template_spec_decl_out_of_scope; in CheckTemplateSpecializationScope()
5897 Diag = diag::ext_template_spec_decl_out_of_scope; in CheckTemplateSpecializationScope()
5899 Diag = diag::warn_cxx98_compat_template_spec_decl_out_of_scope; in CheckTemplateSpecializationScope()
5904 S.Diag(Specialized->getLocation(), diag::note_specialized_entity); in CheckTemplateSpecializationScope()
5983 diag::err_dependent_non_type_arg_in_partial_spec); in CheckNonTypeTemplatePartialSpecializationArgs()
5985 diag::note_dependent_non_type_default_arg_in_partial_spec) in CheckNonTypeTemplatePartialSpecializationArgs()
5989 diag::err_dependent_non_type_arg_in_partial_spec) in CheckNonTypeTemplatePartialSpecializationArgs()
6011 diag::err_dependent_typed_non_type_arg_in_partial_spec) in CheckNonTypeTemplatePartialSpecializationArgs()
6013 S.Diag(Param->getLocation(), diag::note_template_param_here) in CheckNonTypeTemplatePartialSpecializationArgs()
6079 Diag(TemplateNameLoc, diag::err_not_class_template_specialization) in ActOnClassTemplateSpecialization()
6105 Diag(KWLoc, diag::err_partial_specialization_friend) in ActOnClassTemplateSpecialization()
6118 diag::err_default_arg_in_partial_spec); in ActOnClassTemplateSpecialization()
6125 diag::err_default_arg_in_partial_spec) in ActOnClassTemplateSpecialization()
6133 diag::err_default_arg_in_partial_spec) in ActOnClassTemplateSpecialization()
6141 Diag(KWLoc, diag::err_template_spec_friend) in ActOnClassTemplateSpecialization()
6159 Diag(KWLoc, diag::err_use_with_wrong_tag) in ActOnClassTemplateSpecialization()
6164 diag::note_previous_use); in ActOnClassTemplateSpecialization()
6199 Diag(TemplateNameLoc, diag::err_partial_spec_fully_specialized) in ActOnClassTemplateSpecialization()
6240 Diag(TemplateNameLoc, diag::err_partial_spec_args_match_primary_template) in ActOnClassTemplateSpecialization()
6295 Diag(TemplateNameLoc, diag::warn_partial_specs_not_deducible) in ActOnClassTemplateSpecialization()
6303 diag::note_partial_spec_unused_parameter) in ActOnClassTemplateSpecialization()
6307 diag::note_partial_spec_unused_parameter) in ActOnClassTemplateSpecialization()
6354 Diag(TemplateNameLoc, diag::err_specialization_after_instantiation) in ActOnClassTemplateSpecialization()
6358 diag::note_instantiation_required_here) in ActOnClassTemplateSpecialization()
6373 Diag(TemplateNameLoc, diag::err_redefinition) in ActOnClassTemplateSpecialization()
6375 Diag(Def->getLocation(), diag::note_previous_definition); in ActOnClassTemplateSpecialization()
6392 Diag(Specialization->getLocation(), diag::err_module_private_specialization) in ActOnClassTemplateSpecialization()
6569 Diag(NewLoc, diag::err_specialization_after_instantiation) in CheckSpecializationInstantiationRedecl()
6571 Diag(PrevPointOfInstantiation, diag::note_instantiation_required_here) in CheckSpecializationInstantiationRedecl()
6605 diag::err_explicit_instantiation_declaration_after_definition); in CheckSpecializationInstantiationRedecl()
6611 diag::note_explicit_instantiation_definition_here); in CheckSpecializationInstantiationRedecl()
6635 diag::warn_cxx98_compat_explicit_instantiation_after_specialization : in CheckSpecializationInstantiationRedecl()
6636 diag::ext_explicit_instantiation_after_specialization) in CheckSpecializationInstantiationRedecl()
6639 diag::note_previous_template_specialization); in CheckSpecializationInstantiationRedecl()
6670 ? diag::ext_explicit_instantiation_duplicate in CheckSpecializationInstantiationRedecl()
6671 : diag::err_explicit_instantiation_duplicate) in CheckSpecializationInstantiationRedecl()
6674 diag::note_previous_explicit_instantiation); in CheckSpecializationInstantiationRedecl()
6808 PDiag(diag::err_function_template_spec_no_match) << FD->getDeclName(), in CheckFunctionTemplateSpecialization()
6809 PDiag(diag::err_function_template_spec_ambiguous) in CheckFunctionTemplateSpecialization()
6811 PDiag(diag::note_function_template_spec_matched)); in CheckFunctionTemplateSpecialization()
6986 Diag(Member->getLocation(), diag::err_spec_member_not_instantiated) in CheckMemberSpecialization()
6988 Diag(Instantiation->getLocation(), diag::note_specialized_decl); in CheckMemberSpecialization()
7088 S.Diag(InstLoc, diag::err_explicit_instantiation_in_class) in CheckExplicitInstantiationScope()
7113 diag::err_explicit_instantiation_out_of_scope : in CheckExplicitInstantiationScope()
7114 diag::warn_explicit_instantiation_out_of_scope_0x) in CheckExplicitInstantiationScope()
7119 diag::err_explicit_instantiation_unqualified_wrong_namespace : in CheckExplicitInstantiationScope()
7120 diag::warn_explicit_instantiation_unqualified_wrong_namespace_0x) in CheckExplicitInstantiationScope()
7125 diag::err_explicit_instantiation_must_be_global : in CheckExplicitInstantiationScope()
7126 diag::warn_explicit_instantiation_must_be_global_0x) in CheckExplicitInstantiationScope()
7128 S.Diag(D->getLocation(), diag::note_explicit_instantiation_here); in CheckExplicitInstantiationScope()
7177 Diag(KWLoc, diag::err_tag_reference_non_tag) << Kind; in ActOnExplicitInstantiation()
7179 diag::note_previous_use); in ActOnExplicitInstantiation()
7188 Diag(KWLoc, diag::err_use_with_wrong_tag) in ActOnExplicitInstantiation()
7193 diag::note_previous_use); in ActOnExplicitInstantiation()
7210 diag::warn_attribute_dllexport_explicit_instantiation_decl); in ActOnExplicitInstantiation()
7211 Diag(A->getLoc(), diag::note_attribute); in ActOnExplicitInstantiation()
7218 diag::warn_attribute_dllexport_explicit_instantiation_decl); in ActOnExplicitInstantiation()
7219 Diag(A->getLocation(), diag::note_attribute); in ActOnExplicitInstantiation()
7403 Diag(TemplateLoc, diag::err_explicit_instantiation_nontemplate_type) in ActOnExplicitInstantiation()
7405 Diag(Record->getLocation(), diag::note_nontemplate_decl_here); in ActOnExplicitInstantiation()
7416 Diag(TemplateLoc, diag::ext_explicit_instantiation_without_qualified_id) in ActOnExplicitInstantiation()
7462 Diag(TemplateLoc, diag::err_explicit_instantiation_undefined_member) in ActOnExplicitInstantiation()
7464 Diag(Pattern->getLocation(), diag::note_forward_declaration) in ActOnExplicitInstantiation()
7504 diag::err_explicit_instantiation_requires_name) in ActOnExplicitInstantiation()
7527 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_of_typedef) in ActOnExplicitInstantiation()
7533 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_storage_class) in ActOnExplicitInstantiation()
7547 diag::err_explicit_instantiation_inline : in ActOnExplicitInstantiation()
7548 diag::warn_explicit_instantiation_inline_0x) in ActOnExplicitInstantiation()
7554 diag::err_explicit_instantiation_constexpr); in ActOnExplicitInstantiation()
7584 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_not_known) in ActOnExplicitInstantiation()
7588 Diag((*P)->getLocation(), diag::note_explicit_instantiation_here); in ActOnExplicitInstantiation()
7595 diag::err_explicit_instantiation_data_member_not_instantiated) in ActOnExplicitInstantiation()
7597 Diag(Prev->getLocation(), diag::note_explicit_instantiation_here); in ActOnExplicitInstantiation()
7611 diag::err_auto_not_allowed_var_inst); in ActOnExplicitInstantiation()
7620 diag::err_explicit_instantiation_without_template_id) in ActOnExplicitInstantiation()
7623 diag::note_explicit_instantiation_here); in ActOnExplicitInstantiation()
7653 diag::ext_explicit_instantiation_without_qualified_id) in ActOnExplicitInstantiation()
7683 diag::err_invalid_var_template_spec_type) in ActOnExplicitInstantiation()
7685 Diag(PrevTemplate->getLocation(), diag::note_template_declared_here) in ActOnExplicitInstantiation()
7752 PDiag(diag::err_explicit_instantiation_not_known) << Name, in ActOnExplicitInstantiation()
7753 PDiag(diag::err_explicit_instantiation_ambiguous) << Name, in ActOnExplicitInstantiation()
7754 PDiag(diag::note_explicit_instantiation_candidate)); in ActOnExplicitInstantiation()
7771 diag::err_mismatched_exception_spec_explicit_instantiation; in ActOnExplicitInstantiation()
7773 DiagID = diag::ext_mismatched_exception_spec_explicit_instantiation; in ActOnExplicitInstantiation()
7776 PDiag(diag::note_explicit_instantiation_here), in ActOnExplicitInstantiation()
7787 diag::err_explicit_instantiation_member_function_not_instantiated) in ActOnExplicitInstantiation()
7791 Diag(Specialization->getLocation(), diag::note_explicit_instantiation_here); in ActOnExplicitInstantiation()
7838 diag::ext_explicit_instantiation_without_qualified_id) in ActOnExplicitInstantiation()
7865 Diag(NameLoc, diag::err_dependent_tag_decl) in ActOnDependentTag()
7893 diag::warn_cxx98_compat_typename_outside_of_template : in ActOnTypenameType()
7894 diag::ext_typename_outside_of_template) in ActOnTypenameType()
7932 diag::warn_cxx98_compat_typename_outside_of_template : in ActOnTypenameType()
7933 diag::ext_typename_outside_of_template) in ActOnTypenameType()
8067 Diag(CondRange.getBegin(), diag::err_typename_nested_not_found_enable_if) in CheckTypenameType()
8072 DiagID = diag::err_typename_nested_not_found; in CheckTypenameType()
8081 Diag(IILoc, diag::err_typename_refers_to_using_value_decl) in CheckTypenameType()
8086 Diag(Loc, diag::note_using_value_decl_missing_typename) in CheckTypenameType()
8109 DiagID = diag::err_typename_nested_not_type; in CheckTypenameType()
8114 DiagID = diag::err_typename_nested_not_type; in CheckTypenameType()
8128 Diag(Referenced->getLocation(), diag::note_typename_refers_here) in CheckTypenameType()