Lines Matching refs:diag
239 Diag(IILoc, diag::err_template_kw_missing) in DiagnoseUnknownTemplateName()
340 diagnoseTypo(Corrected, PDiag(diag::err_no_member_template_suggest) in LookupTemplateName()
344 diagnoseTypo(Corrected, PDiag(diag::err_no_template_suggest) << Name); in LookupTemplateName()
389 diag::ext_nested_name_member_ref_lookup_ambiguous) in LookupTemplateName()
393 diag::note_ambig_member_ref_object_type) in LookupTemplateName()
396 diag::note_ambig_member_ref_scope); in LookupTemplateName()
458 Diag(Loc, diag::err_template_param_shadow) in DiagnoseTemplateParameterShadow()
460 Diag(PrevDecl->getLocation(), diag::note_template_param_here); in DiagnoseTemplateParameterShadow()
585 Diag(EqualLoc, diag::err_template_param_pack_default_arg); in ActOnTypeParameter()
623 Diag(Loc, diag::err_variably_modified_nontype_template_param) in CheckNonTypeTemplateParameterType()
659 Diag(Loc, diag::err_template_nontype_parm_bad_type) in CheckNonTypeTemplateParameterType()
709 Diag(EqualLoc, diag::err_template_param_pack_default_arg); in ActOnNonTypeTemplateParameter()
769 Diag(Param->getLocation(), diag::err_template_template_parm_no_parms) in ActOnTemplateTemplateParameter()
778 Diag(EqualLoc, diag::err_template_param_pack_default_arg); in ActOnTemplateTemplateParameter()
793 Diag(DefaultArg.getLocation(), diag::err_template_arg_not_class_template) in ActOnTemplateTemplateParameter()
820 Diag(ExportLoc, diag::warn_template_export_unsupported); in ActOnTemplateParameterList()
857 Diag(KWLoc, diag::err_template_unnamed_class); in CheckClassTemplate()
876 ? diag::warn_template_qualified_friend_ignored in CheckClassTemplate()
877 : diag::err_template_qualified_declarator_no_match) in CheckClassTemplate()
986 Diag(KWLoc, diag::err_using_decl_conflict_reverse); in CheckClassTemplate()
988 diag::note_using_decl_target); in CheckClassTemplate()
989 Diag(Shadow->getUsingDecl()->getLocation(), diag::note_using_decl) << 0; in CheckClassTemplate()
1014 Diag(KWLoc, diag::err_use_with_wrong_tag) in CheckClassTemplate()
1017 Diag(PrevRecordDecl->getLocation(), diag::note_previous_use); in CheckClassTemplate()
1037 Diag(NameLoc, diag::err_redefinition) << Name; in CheckClassTemplate()
1038 Diag(Def->getLocation(), diag::note_previous_definition); in CheckClassTemplate()
1055 Diag(NameLoc, diag::err_redefinition_different_kind) << Name; in CheckClassTemplate()
1056 Diag(PrevDecl->getLocation(), diag::note_previous_definition); in CheckClassTemplate()
1080 Diag(NameLoc, TUK == TUK_Friend ? diag::err_friend_decl_does_not_match in CheckClassTemplate()
1081 : diag::err_member_decl_does_not_match) in CheckClassTemplate()
1209 diag::warn_cxx98_compat_template_parameter_default_in_function_template in DiagnoseDefaultTemplateArgument()
1210 : diag::ext_template_parameter_default_in_function_template) in DiagnoseDefaultTemplateArgument()
1219 S.Diag(ParamLoc, diag::err_template_parameter_default_template_member) in DiagnoseDefaultTemplateArgument()
1228 S.Diag(ParamLoc, diag::err_template_parameter_default_friend_template) in DiagnoseDefaultTemplateArgument()
1459 diag::err_template_param_pack_must_be_last_template_parameter); in CheckTemplateParameterList()
1467 Diag(NewDefaultLoc, diag::err_template_param_default_arg_redefinition); in CheckTemplateParameterList()
1468 Diag(OldDefaultLoc, diag::note_template_param_prev_default_arg); in CheckTemplateParameterList()
1477 diag::err_template_param_default_arg_missing); in CheckTemplateParameterList()
1478 Diag(PreviousDefaultArgLoc, diag::note_template_param_prev_default_arg); in CheckTemplateParameterList()
1753 Diag(DeclLoc, diag::err_specialize_member_of_template) in MatchTemplateParametersToScopeSpecifier()
1775 Diag(DeclLoc, diag::err_template_spec_needs_header) in MatchTemplateParametersToScopeSpecifier()
1868 diag::err_template_param_list_matches_nontemplate) in MatchTemplateParametersToScopeSpecifier()
1920 Diag(DeclLoc, diag::err_template_spec_needs_template_parameters) in MatchTemplateParametersToScopeSpecifier()
1960 AllExplicitSpecHeaders ? diag::warn_template_spec_extra_headers in MatchTemplateParametersToScopeSpecifier()
1961 : diag::err_template_spec_extra_headers) in MatchTemplateParametersToScopeSpecifier()
1970 diag::note_explicit_template_spec_does_not_need_header) in MatchTemplateParametersToScopeSpecifier()
1999 Diag(Template->getLocation(), diag::note_template_declared_here) in NoteAllFoundTemplates()
2015 Diag((*I)->getLocation(), diag::note_template_declared_here) in NoteAllFoundTemplates()
2037 diag::err_integer_sequence_integral_element_type); in checkBuiltinTemplateIdType()
2047 diag::err_integer_sequence_negative_length); in checkBuiltinTemplateIdType()
2097 Diag(TemplateLoc, diag::err_template_id_not_a_type) in CheckTemplateIdType()
2354 Diag(TemplateLoc, diag::err_tag_reference_non_tag) << 4; in ActOnTagTemplateIdType()
2355 Diag(TAT->getLocation(), diag::note_declared_at); in ActOnTagTemplateIdType()
2371 Diag(TagLoc, diag::err_use_with_wrong_tag) in ActOnTagTemplateIdType()
2374 Diag(D->getLocation(), diag::note_previous_use); in ActOnTagTemplateIdType()
2510 return Diag(D.getIdentifierLoc(), diag::err_var_spec_no_template_but_method) in ActOnVarTemplateSpecialization()
2512 return Diag(D.getIdentifierLoc(), diag::err_var_spec_no_template) in ActOnVarTemplateSpecialization()
2542 Diag(TemplateNameLoc, diag::err_partial_spec_fully_specialized) in ActOnVarTemplateSpecialization()
2553 Diag(TemplateNameLoc, diag::err_partial_spec_args_match_primary_template) in ActOnVarTemplateSpecialization()
2619 Diag(TemplateNameLoc, diag::warn_partial_specs_not_deducible) in ActOnVarTemplateSpecialization()
2626 Diag(Param->getLocation(), diag::note_partial_spec_unused_parameter) in ActOnVarTemplateSpecialization()
2629 Diag(Param->getLocation(), diag::note_partial_spec_unused_parameter) in ActOnVarTemplateSpecialization()
2664 Diag(TemplateNameLoc, diag::err_specialization_after_instantiation) in ActOnVarTemplateSpecialization()
2668 diag::note_instantiation_required_here) in ActOnVarTemplateSpecialization()
2848 Diag(PointOfInstantiation, diag::err_partial_spec_ordering_ambiguous) in CheckVarTemplateId()
2855 Diag(P->Partial->getLocation(), diag::note_partial_spec_match) in CheckVarTemplateId()
2956 Diag(NameInfo.getLoc(), diag::err_template_kw_refers_to_non_template) in BuildQualifiedTemplateIdExpr()
2962 Diag(NameInfo.getLoc(), diag::err_template_kw_refers_to_class_template) in BuildQualifiedTemplateIdExpr()
2965 Diag(Temp->getLocation(), diag::note_referenced_class_template); in BuildQualifiedTemplateIdExpr()
2989 diag::warn_cxx98_compat_template_outside_of_template : in ActOnDependentTemplateName()
2990 diag::ext_template_outside_of_template) in ActOnDependentTemplateName()
3026 diag::err_template_kw_refers_to_non_template) in ActOnDependentTemplateName()
3058 diag::err_template_kw_refers_to_non_template) in ActOnDependentTemplateName()
3086 Diag(SR.getBegin(), diag::err_template_missing_args) in CheckTemplateTypeArgument()
3089 Diag(Decl->getLocation(), diag::note_template_decl_here); in CheckTemplateTypeArgument()
3124 ? diag::ext_ms_template_type_arg_missing_typename in CheckTemplateTypeArgument()
3125 : diag::err_template_arg_must_be_type_suggest) in CheckTemplateTypeArgument()
3127 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateTypeArgument()
3154 Diag(SR.getBegin(), diag::err_template_arg_must_be_type) << SR; in CheckTemplateTypeArgument()
3155 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateTypeArgument()
3569 Diag(Arg.getLocation(), diag::err_template_arg_must_be_expr) in CheckTemplateArgument()
3572 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
3589 Diag(SR.getBegin(), diag::err_template_arg_nontype_ambig) << SR << T; in CheckTemplateArgument()
3591 Diag(SR.getBegin(), diag::err_template_arg_must_be_expr) << SR; in CheckTemplateArgument()
3592 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
3644 Diag(Arg.getLocation(), diag::err_template_arg_must_be_template) in CheckTemplateArgument()
3674 S.Diag(TemplateLoc, diag::err_template_arg_list_different_arity) in diagnoseArityMismatch()
3680 S.Diag(Template->getLocation(), diag::note_template_decl_here) in diagnoseArityMismatch()
3784 Diag(TemplateLoc, diag::err_template_arg_list_different_arity) in CheckTemplateArgumentList()
3790 Diag(Template->getLocation(), diag::note_template_decl_here) in CheckTemplateArgumentList()
3811 diag::err_alias_template_expansion_into_fixed_list) in CheckTemplateArgumentList()
3813 Diag((*Param)->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentList()
4190 diag::warn_cxx98_compat_template_arg_local_type : in VisitTagDecl()
4191 diag::ext_template_arg_local_type) in VisitTagDecl()
4199 diag::warn_cxx98_compat_template_arg_unnamed_type : in VisitTagDecl()
4200 diag::ext_template_arg_unnamed_type) << SR; in VisitTagDecl()
4201 S.Diag(Tag->getLocation(), diag::note_template_unnamed_type_here); in VisitTagDecl()
4241 return Diag(SR.getBegin(), diag::err_variably_modified_template_arg) << Arg; in CheckTemplateArgument()
4243 return Diag(SR.getBegin(), diag::err_template_arg_overload_type) << SR; in CheckTemplateArgument()
4256 !Diags.isIgnored(diag::warn_cxx98_compat_template_arg_unnamed_type, in CheckTemplateArgument()
4258 !Diags.isIgnored(diag::warn_cxx98_compat_template_arg_local_type, in CheckTemplateArgument()
4309 diag::note_invalid_subexpr_in_const_expr) { in isNullPointerValueTemplateArgument()
4314 S.Diag(DiagLoc, diag::err_template_arg_not_address_constant) in isNullPointerValueTemplateArgument()
4319 S.Diag(Param->getLocation(), diag::note_template_param_here); in isNullPointerValueTemplateArgument()
4343 S.Diag(Arg->getExprLoc(), diag::err_template_arg_wrongtype_null_constant) in isNullPointerValueTemplateArgument()
4345 S.Diag(Param->getLocation(), diag::note_template_param_here); in isNullPointerValueTemplateArgument()
4353 S.Diag(Arg->getExprLoc(), diag::err_template_arg_untyped_null_constant) in isNullPointerValueTemplateArgument()
4357 S.Diag(Param->getLocation(), diag::note_template_param_here); in isNullPointerValueTemplateArgument()
4396 diag::err_template_arg_ref_bind_ignores_quals) in CheckTemplateArgumentIsCompatibleWithParameter()
4398 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentIsCompatibleWithParameter()
4411 S.Diag(Arg->getLocStart(), diag::err_template_arg_no_ref_bind) in CheckTemplateArgumentIsCompatibleWithParameter()
4414 S.Diag(Arg->getLocStart(), diag::err_template_arg_not_convertible) in CheckTemplateArgumentIsCompatibleWithParameter()
4416 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentIsCompatibleWithParameter()
4461 S.Diag(ArgIn->getLocStart(), diag::ext_ms_deref_template_argument) in CheckTemplateArgumentAddressOfObjectOrFunction()
4470 S.Diag(Arg->getLocStart(), diag::err_template_arg_not_decl_ref) in CheckTemplateArgumentAddressOfObjectOrFunction()
4497 ? diag::warn_cxx98_compat_template_arg_extra_parens in CheckTemplateArgumentAddressOfObjectOrFunction()
4498 : diag::ext_template_arg_extra_parens) in CheckTemplateArgumentAddressOfObjectOrFunction()
4537 S.Diag(Arg->getExprLoc(), diag::warn_cxx98_compat_template_arg_null); in CheckTemplateArgumentAddressOfObjectOrFunction()
4567 S.Diag(Arg->getLocStart(), diag::err_template_arg_not_decl_ref) in CheckTemplateArgumentAddressOfObjectOrFunction()
4569 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4575 S.Diag(Arg->getLocStart(), diag::err_template_arg_field) in CheckTemplateArgumentAddressOfObjectOrFunction()
4577 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4584 S.Diag(Arg->getLocStart(), diag::err_template_arg_method) in CheckTemplateArgumentAddressOfObjectOrFunction()
4586 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4597 S.Diag(Arg->getLocStart(), diag::err_template_arg_not_object_or_func) in CheckTemplateArgumentAddressOfObjectOrFunction()
4599 S.Diag(DRE->getDecl()->getLocation(), diag::note_template_arg_refers_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4606 diag::warn_cxx98_compat_template_arg_object_internal : in CheckTemplateArgumentAddressOfObjectOrFunction()
4607 diag::ext_template_arg_object_internal) in CheckTemplateArgumentAddressOfObjectOrFunction()
4609 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object) in CheckTemplateArgumentAddressOfObjectOrFunction()
4612 S.Diag(Arg->getLocStart(), diag::err_template_arg_object_no_linkage) in CheckTemplateArgumentAddressOfObjectOrFunction()
4614 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object) in CheckTemplateArgumentAddressOfObjectOrFunction()
4629 S.Diag(AddrOpLoc, diag::err_template_arg_address_of_non_pointer) in CheckTemplateArgumentAddressOfObjectOrFunction()
4631 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4635 S.Diag(AddrOpLoc, diag::err_template_arg_address_of_non_pointer) in CheckTemplateArgumentAddressOfObjectOrFunction()
4638 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4646 diag::err_template_arg_reference_var) in CheckTemplateArgumentAddressOfObjectOrFunction()
4648 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4654 S.Diag(Arg->getLocStart(), diag::err_template_arg_thread_local) in CheckTemplateArgumentAddressOfObjectOrFunction()
4656 S.Diag(Var->getLocation(), diag::note_template_arg_refers_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4669 S.Diag(AddrOpLoc, diag::err_template_arg_address_of_non_pointer) in CheckTemplateArgumentAddressOfObjectOrFunction()
4671 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4675 S.Diag(AddrOpLoc, diag::err_template_arg_address_of_non_pointer) in CheckTemplateArgumentAddressOfObjectOrFunction()
4678 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4692 S.Diag(Arg->getLocStart(), diag::err_template_arg_not_address_of) in CheckTemplateArgumentAddressOfObjectOrFunction()
4694 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4698 S.Diag(Arg->getLocStart(), diag::err_template_arg_not_address_of) in CheckTemplateArgumentAddressOfObjectOrFunction()
4702 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentAddressOfObjectOrFunction()
4733 S.Diag(Arg->getExprLoc(), diag::warn_cxx98_compat_template_arg_null); in CheckTemplateArgumentPointerToMember()
4751 S.Diag(Arg->getLocStart(), diag::err_template_arg_not_convertible) in CheckTemplateArgumentPointerToMember()
4753 S.Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgumentPointerToMember()
4776 diag::warn_cxx98_compat_template_arg_extra_parens : in CheckTemplateArgumentPointerToMember()
4777 diag::ext_template_arg_extra_parens) in CheckTemplateArgumentPointerToMember()
4818 diag::err_template_arg_not_pointer_to_member_form) in CheckTemplateArgumentPointerToMember()
4842 diag::err_template_arg_not_pointer_to_member_form) in CheckTemplateArgumentPointerToMember()
4844 S.Diag(DRE->getDecl()->getLocation(), diag::note_template_arg_refers_here); in CheckTemplateArgumentPointerToMember()
4883 Diag(StartLoc, diag::err_deduced_non_type_template_arg_type_mismatch) in CheckTemplateArgument()
4886 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
4925 diag::err_template_arg_member_ptr_base_derived_not_supported) in CheckTemplateArgument()
4950 Diag(Arg->getLocStart(), diag::err_template_arg_not_decl_ref) in CheckTemplateArgument()
4966 Diag(StartLoc, diag::err_non_type_template_arg_subobject) in CheckTemplateArgument()
4979 return Diag(StartLoc, diag::err_non_type_template_arg_addr_label_diff); in CheckTemplateArgument()
5064 diag::err_template_arg_not_integral_or_enumeral) in CheckTemplateArgument()
5066 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
5077 S.Diag(Loc, diag::err_template_arg_not_ice) << T << SR; in CheckTemplateArgument()
5104 diag::err_template_arg_not_convertible) in CheckTemplateArgument()
5106 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
5144 Diag(Arg->getLocStart(), diag::warn_template_arg_negative) in CheckTemplateArgument()
5147 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
5160 diag::warn_template_arg_too_large) in CheckTemplateArgument()
5163 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
5283 Diag(Arg->getExprLoc(), diag::err_template_arg_not_convertible) in CheckTemplateArgument()
5285 Diag(Param->getLocation(), diag::note_template_param_here); in CheckTemplateArgument()
5292 Diag(Arg->getExprLoc(), diag::warn_cxx98_compat_template_arg_null); in CheckTemplateArgument()
5342 Diag(Arg.getLocation(), diag::err_template_arg_not_class_template); in CheckTemplateArgument()
5343 Diag(Template->getLocation(), diag::note_template_arg_refers_here_func) in CheckTemplateArgument()
5546 unsigned NextDiag = diag::err_template_param_different_kind; in MatchTemplateParameterKind()
5548 S.Diag(TemplateArgLoc, diag::err_template_arg_template_params_mismatch); in MatchTemplateParameterKind()
5549 NextDiag = diag::note_template_param_different_kind; in MatchTemplateParameterKind()
5553 S.Diag(Old->getLocation(), diag::note_template_prev_declaration) in MatchTemplateParameterKind()
5568 unsigned NextDiag = diag::err_template_parameter_pack_non_pack; in MatchTemplateParameterKind()
5571 diag::err_template_arg_template_params_mismatch); in MatchTemplateParameterKind()
5572 NextDiag = diag::note_template_parameter_pack_non_pack; in MatchTemplateParameterKind()
5580 S.Diag(Old->getLocation(), diag::note_template_parameter_pack_here) in MatchTemplateParameterKind()
5603 unsigned NextDiag = diag::err_template_nontype_parm_different_type; in MatchTemplateParameterKind()
5606 diag::err_template_arg_template_params_mismatch); in MatchTemplateParameterKind()
5607 NextDiag = diag::note_template_nontype_parm_different_type; in MatchTemplateParameterKind()
5613 diag::note_template_nontype_parm_prev_declaration) in MatchTemplateParameterKind()
5649 unsigned NextDiag = diag::err_template_param_list_different_arity; in DiagnoseTemplateParameterListArityMismatch()
5651 S.Diag(TemplateArgLoc, diag::err_template_arg_template_params_mismatch); in DiagnoseTemplateParameterListArityMismatch()
5652 NextDiag = diag::note_template_param_list_different_arity; in DiagnoseTemplateParameterListArityMismatch()
5658 S.Diag(Old->getTemplateLoc(), diag::note_template_prev_declaration) in DiagnoseTemplateParameterListArityMismatch()
5773 return Diag(TemplateParams->getTemplateLoc(), diag::err_template_linkage) in CheckTemplateDeclScope()
5790 diag::err_template_inside_local_class) in CheckTemplateDeclScope()
5798 diag::err_template_outside_namespace_or_class_scope) in CheckTemplateDeclScope()
5865 S.Diag(Loc, diag::err_template_spec_unknown_kind) in CheckTemplateSpecializationScope()
5867 S.Diag(Specialized->getLocation(), diag::note_specialized_entity); in CheckTemplateSpecializationScope()
5885 S.Diag(Loc, diag::err_template_spec_decl_function_scope) in CheckTemplateSpecializationScope()
5896 S.Diag(Loc, diag::ext_function_specialization_in_class) in CheckTemplateSpecializationScope()
5899 S.Diag(Loc, diag::err_template_spec_decl_class_scope) in CheckTemplateSpecializationScope()
5909 S.Diag(Loc, diag::err_template_spec_decl_class_scope) in CheckTemplateSpecializationScope()
5935 S.Diag(Loc, diag::err_template_spec_redecl_global_scope) in CheckTemplateSpecializationScope()
5938 int Diag = diag::err_template_spec_redecl_out_of_scope; in CheckTemplateSpecializationScope()
5940 Diag = diag::ext_ms_template_spec_redecl_out_of_scope; in CheckTemplateSpecializationScope()
5946 S.Diag(Specialized->getLocation(), diag::note_specialized_entity); in CheckTemplateSpecializationScope()
5970 S.Diag(Loc, diag::err_template_spec_decl_out_of_scope_global) in CheckTemplateSpecializationScope()
5975 Diag = diag::err_template_spec_decl_out_of_scope; in CheckTemplateSpecializationScope()
5977 Diag = diag::ext_template_spec_decl_out_of_scope; in CheckTemplateSpecializationScope()
5979 Diag = diag::warn_cxx98_compat_template_spec_decl_out_of_scope; in CheckTemplateSpecializationScope()
5984 S.Diag(Specialized->getLocation(), diag::note_specialized_entity); in CheckTemplateSpecializationScope()
6063 diag::err_dependent_non_type_arg_in_partial_spec); in CheckNonTypeTemplatePartialSpecializationArgs()
6065 diag::note_dependent_non_type_default_arg_in_partial_spec) in CheckNonTypeTemplatePartialSpecializationArgs()
6069 diag::err_dependent_non_type_arg_in_partial_spec) in CheckNonTypeTemplatePartialSpecializationArgs()
6091 diag::err_dependent_typed_non_type_arg_in_partial_spec) in CheckNonTypeTemplatePartialSpecializationArgs()
6093 S.Diag(Param->getLocation(), diag::note_template_param_here) in CheckNonTypeTemplatePartialSpecializationArgs()
6161 Diag(TemplateNameLoc, diag::err_not_class_template_specialization) in ActOnClassTemplateSpecialization()
6187 Diag(KWLoc, diag::err_partial_specialization_friend) in ActOnClassTemplateSpecialization()
6200 diag::err_default_arg_in_partial_spec); in ActOnClassTemplateSpecialization()
6207 diag::err_default_arg_in_partial_spec) in ActOnClassTemplateSpecialization()
6215 diag::err_default_arg_in_partial_spec) in ActOnClassTemplateSpecialization()
6223 Diag(KWLoc, diag::err_template_spec_friend) in ActOnClassTemplateSpecialization()
6241 Diag(KWLoc, diag::err_use_with_wrong_tag) in ActOnClassTemplateSpecialization()
6246 diag::note_previous_use); in ActOnClassTemplateSpecialization()
6281 Diag(TemplateNameLoc, diag::err_partial_spec_fully_specialized) in ActOnClassTemplateSpecialization()
6322 Diag(TemplateNameLoc, diag::err_partial_spec_args_match_primary_template) in ActOnClassTemplateSpecialization()
6376 Diag(TemplateNameLoc, diag::warn_partial_specs_not_deducible) in ActOnClassTemplateSpecialization()
6384 diag::note_partial_spec_unused_parameter) in ActOnClassTemplateSpecialization()
6388 diag::note_partial_spec_unused_parameter) in ActOnClassTemplateSpecialization()
6444 Diag(TemplateNameLoc, diag::err_specialization_after_instantiation) in ActOnClassTemplateSpecialization()
6448 diag::note_instantiation_required_here) in ActOnClassTemplateSpecialization()
6470 Diag(TemplateNameLoc, diag::err_redefinition) in ActOnClassTemplateSpecialization()
6472 Diag(Def->getLocation(), diag::note_previous_definition); in ActOnClassTemplateSpecialization()
6489 Diag(Specialization->getLocation(), diag::err_module_private_specialization) in ActOnClassTemplateSpecialization()
6648 Diag(NewLoc, diag::err_specialization_after_instantiation) in CheckSpecializationInstantiationRedecl()
6650 Diag(PrevPointOfInstantiation, diag::note_instantiation_required_here) in CheckSpecializationInstantiationRedecl()
6684 diag::err_explicit_instantiation_declaration_after_definition); in CheckSpecializationInstantiationRedecl()
6690 diag::note_explicit_instantiation_definition_here); in CheckSpecializationInstantiationRedecl()
6714 diag::warn_cxx98_compat_explicit_instantiation_after_specialization : in CheckSpecializationInstantiationRedecl()
6715 diag::ext_explicit_instantiation_after_specialization) in CheckSpecializationInstantiationRedecl()
6718 diag::note_previous_template_specialization); in CheckSpecializationInstantiationRedecl()
6749 ? diag::ext_explicit_instantiation_duplicate in CheckSpecializationInstantiationRedecl()
6750 : diag::err_explicit_instantiation_duplicate) in CheckSpecializationInstantiationRedecl()
6753 diag::note_previous_explicit_instantiation); in CheckSpecializationInstantiationRedecl()
6897 PDiag(diag::err_function_template_spec_no_match) << FD->getDeclName(), in CheckFunctionTemplateSpecialization()
6898 PDiag(diag::err_function_template_spec_ambiguous) in CheckFunctionTemplateSpecialization()
6900 PDiag(diag::note_function_template_spec_matched)); in CheckFunctionTemplateSpecialization()
7075 Diag(Member->getLocation(), diag::err_spec_member_not_instantiated) in CheckMemberSpecialization()
7077 Diag(Instantiation->getLocation(), diag::note_specialized_decl); in CheckMemberSpecialization()
7177 S.Diag(InstLoc, diag::err_explicit_instantiation_in_class) in CheckExplicitInstantiationScope()
7202 diag::err_explicit_instantiation_out_of_scope : in CheckExplicitInstantiationScope()
7203 diag::warn_explicit_instantiation_out_of_scope_0x) in CheckExplicitInstantiationScope()
7208 diag::err_explicit_instantiation_unqualified_wrong_namespace : in CheckExplicitInstantiationScope()
7209 diag::warn_explicit_instantiation_unqualified_wrong_namespace_0x) in CheckExplicitInstantiationScope()
7214 diag::err_explicit_instantiation_must_be_global : in CheckExplicitInstantiationScope()
7215 diag::warn_explicit_instantiation_must_be_global_0x) in CheckExplicitInstantiationScope()
7217 S.Diag(D->getLocation(), diag::note_explicit_instantiation_here); in CheckExplicitInstantiationScope()
7266 Diag(KWLoc, diag::err_tag_reference_non_tag) << Kind; in ActOnExplicitInstantiation()
7268 diag::note_previous_use); in ActOnExplicitInstantiation()
7277 Diag(KWLoc, diag::err_use_with_wrong_tag) in ActOnExplicitInstantiation()
7282 diag::note_previous_use); in ActOnExplicitInstantiation()
7299 diag::warn_attribute_dllexport_explicit_instantiation_decl); in ActOnExplicitInstantiation()
7300 Diag(A->getLoc(), diag::note_attribute); in ActOnExplicitInstantiation()
7307 diag::warn_attribute_dllexport_explicit_instantiation_decl); in ActOnExplicitInstantiation()
7308 Diag(A->getLocation(), diag::note_attribute); in ActOnExplicitInstantiation()
7517 Diag(TemplateLoc, diag::err_explicit_instantiation_nontemplate_type) in ActOnExplicitInstantiation()
7519 Diag(Record->getLocation(), diag::note_nontemplate_decl_here); in ActOnExplicitInstantiation()
7530 Diag(TemplateLoc, diag::ext_explicit_instantiation_without_qualified_id) in ActOnExplicitInstantiation()
7576 Diag(TemplateLoc, diag::err_explicit_instantiation_undefined_member) in ActOnExplicitInstantiation()
7578 Diag(Pattern->getLocation(), diag::note_forward_declaration) in ActOnExplicitInstantiation()
7618 diag::err_explicit_instantiation_requires_name) in ActOnExplicitInstantiation()
7641 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_of_typedef) in ActOnExplicitInstantiation()
7647 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_storage_class) in ActOnExplicitInstantiation()
7661 diag::err_explicit_instantiation_inline : in ActOnExplicitInstantiation()
7662 diag::warn_explicit_instantiation_inline_0x) in ActOnExplicitInstantiation()
7668 diag::err_explicit_instantiation_constexpr); in ActOnExplicitInstantiation()
7698 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_not_known) in ActOnExplicitInstantiation()
7702 Diag((*P)->getLocation(), diag::note_explicit_instantiation_here); in ActOnExplicitInstantiation()
7709 diag::err_explicit_instantiation_data_member_not_instantiated) in ActOnExplicitInstantiation()
7711 Diag(Prev->getLocation(), diag::note_explicit_instantiation_here); in ActOnExplicitInstantiation()
7725 diag::err_auto_not_allowed_var_inst); in ActOnExplicitInstantiation()
7734 diag::err_explicit_instantiation_without_template_id) in ActOnExplicitInstantiation()
7737 diag::note_explicit_instantiation_here); in ActOnExplicitInstantiation()
7767 diag::ext_explicit_instantiation_without_qualified_id) in ActOnExplicitInstantiation()
7797 diag::err_invalid_var_template_spec_type) in ActOnExplicitInstantiation()
7799 Diag(PrevTemplate->getLocation(), diag::note_template_declared_here) in ActOnExplicitInstantiation()
7866 PDiag(diag::err_explicit_instantiation_not_known) << Name, in ActOnExplicitInstantiation()
7867 PDiag(diag::err_explicit_instantiation_ambiguous) << Name, in ActOnExplicitInstantiation()
7868 PDiag(diag::note_explicit_instantiation_candidate)); in ActOnExplicitInstantiation()
7885 diag::err_mismatched_exception_spec_explicit_instantiation; in ActOnExplicitInstantiation()
7887 DiagID = diag::ext_mismatched_exception_spec_explicit_instantiation; in ActOnExplicitInstantiation()
7890 PDiag(diag::note_explicit_instantiation_here), in ActOnExplicitInstantiation()
7901 diag::err_explicit_instantiation_member_function_not_instantiated) in ActOnExplicitInstantiation()
7905 Diag(Specialization->getLocation(), diag::note_explicit_instantiation_here); in ActOnExplicitInstantiation()
7952 diag::ext_explicit_instantiation_without_qualified_id) in ActOnExplicitInstantiation()
7979 Diag(NameLoc, diag::err_dependent_tag_decl) in ActOnDependentTag()
8007 diag::warn_cxx98_compat_typename_outside_of_template : in ActOnTypenameType()
8008 diag::ext_typename_outside_of_template) in ActOnTypenameType()
8046 diag::warn_cxx98_compat_typename_outside_of_template : in ActOnTypenameType()
8047 diag::ext_typename_outside_of_template) in ActOnTypenameType()
8181 Diag(CondRange.getBegin(), diag::err_typename_nested_not_found_enable_if) in CheckTypenameType()
8186 DiagID = diag::err_typename_nested_not_found; in CheckTypenameType()
8195 Diag(IILoc, diag::err_typename_refers_to_using_value_decl) in CheckTypenameType()
8200 Diag(Loc, diag::note_using_value_decl_missing_typename) in CheckTypenameType()
8223 DiagID = diag::err_typename_nested_not_type; in CheckTypenameType()
8228 DiagID = diag::err_typename_nested_not_type; in CheckTypenameType()
8242 Diag(Referenced->getLocation(), diag::note_typename_refers_here) in CheckTypenameType()