reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaTemplate.cpp
 5775   if (!S.isCompleteType(Arg->getExprLoc(), ParamType))
 5779   if (!S.getLangOpts().CPlusPlus11)
 5783   ExprResult ArgRV = S.DefaultFunctionArrayConversion(Arg);
 5791   if (!Arg->EvaluateAsRValue(EvalResult, S.Context) ||
 5804     S.Diag(DiagLoc, diag::err_template_arg_not_address_constant)
 5807       S.Diag(Notes[I].first, Notes[I].second);
 5809     S.Diag(Param->getLocation(), diag::note_template_param_here);
 5826     if (S.Context.hasSameUnqualifiedType(Arg->getType(), ParamType) ||
 5827         S.IsQualificationConversion(Arg->getType(), ParamType, false,
 5833     S.Diag(Arg->getExprLoc(), diag::err_template_arg_wrongtype_null_constant)
 5835     S.Diag(Param->getLocation(), diag::note_template_param_here);
 5841   if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) {
 5843     S.Diag(Arg->getExprLoc(), diag::err_template_arg_untyped_null_constant)
 5845         << FixItHint::CreateInsertion(S.getLocForEndOfToken(Arg->getEndLoc()),
 5847     S.Diag(Param->getLocation(), diag::note_template_param_here);