reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
5928 if (S.getLangOpts().MicrosoftExt) { 5951 S.Diag(ArgIn->getBeginLoc(), diag::ext_ms_deref_template_argument) 5960 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_not_decl_ref) 5985 S.Diag(Arg->getBeginLoc(), 5986 S.getLangOpts().CPlusPlus11 6018 switch (isNullPointerValueTemplateArgument(S, Param, ParamType, ArgIn, 6021 S.Diag(Arg->getExprLoc(), diag::warn_cxx98_compat_template_arg_null); 6022 Converted = TemplateArgument(S.Context.getCanonicalType(ParamType), 6042 if (CheckTemplateArgumentIsCompatibleWithParameter(S, Param, ParamType, 6051 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_not_decl_ref) 6053 S.Diag(Param->getLocation(), diag::note_template_param_here); 6059 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_field) 6061 S.Diag(Param->getLocation(), diag::note_template_param_here); 6068 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_method) 6070 S.Diag(Param->getLocation(), diag::note_template_param_here); 6081 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_not_object_or_func) 6083 S.Diag(DRE->getDecl()->getLocation(), diag::note_template_arg_refers_here); 6089 S.Diag(Arg->getBeginLoc(), 6090 S.getLangOpts().CPlusPlus11 6094 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object) 6097 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_object_no_linkage) 6099 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object) 6107 ArgType = S.Context.getPointerType(Func->getType()); 6112 if (!S.Context.hasSameUnqualifiedType(Func->getType(), 6114 S.Diag(AddrOpLoc, diag::err_template_arg_address_of_non_pointer) 6116 S.Diag(Param->getLocation(), diag::note_template_param_here); 6120 S.Diag(AddrOpLoc, diag::err_template_arg_address_of_non_pointer) 6123 S.Diag(Param->getLocation(), diag::note_template_param_here); 6130 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_reference_var) 6132 S.Diag(Param->getLocation(), diag::note_template_param_here); 6138 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_thread_local) 6140 S.Diag(Var->getLocation(), diag::note_template_arg_refers_here); 6151 if (!S.Context.hasSameUnqualifiedType(Var->getType(), 6153 S.Diag(AddrOpLoc, diag::err_template_arg_address_of_non_pointer) 6155 S.Diag(Param->getLocation(), diag::note_template_param_here); 6159 S.Diag(AddrOpLoc, diag::err_template_arg_address_of_non_pointer) 6162 S.Diag(Param->getLocation(), diag::note_template_param_here); 6169 ArgType = S.Context.getArrayDecayedType(Var->getType()); 6174 ArgType = S.Context.getPointerType(Var->getType()); 6175 if (!S.Context.hasSameUnqualifiedType(ArgType, ParamType)) { 6176 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_not_address_of) 6178 S.Diag(Param->getLocation(), diag::note_template_param_here); 6182 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_not_address_of) 6185 S.Diag(Param->getLocation(), diag::note_template_param_here); 6190 if (CheckTemplateArgumentIsCompatibleWithParameter(S, Param, ParamType, ArgIn, 6197 S.MarkAnyDeclReferenced(Arg->getBeginLoc(), Entity, false);