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

References

tools/clang/lib/Sema/SemaTemplate.cpp
 5767   if (Arg->isValueDependent() || Arg->isTypeDependent())
 5767   if (Arg->isValueDependent() || Arg->isTypeDependent())
 5775   if (!S.isCompleteType(Arg->getExprLoc(), ParamType))
 5783   ExprResult ArgRV = S.DefaultFunctionArrayConversion(Arg);
 5786   Arg = ArgRV.get();
 5791   if (!Arg->EvaluateAsRValue(EvalResult, S.Context) ||
 5793     SourceLocation DiagLoc = Arg->getExprLoc();
 5805       << Arg->getType() << Arg->getSourceRange();
 5805       << Arg->getType() << Arg->getSourceRange();
 5815   if (Arg->getType()->isNullPtrType())
 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)
 5834       << Arg->getType() << ParamType << Arg->getSourceRange();
 5834       << Arg->getType() << ParamType << Arg->getSourceRange();
 5841   if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) {
 5843     S.Diag(Arg->getExprLoc(), diag::err_template_arg_untyped_null_constant)
 5844         << ParamType << FixItHint::CreateInsertion(Arg->getBeginLoc(), Code)
 5845         << FixItHint::CreateInsertion(S.getLocForEndOfToken(Arg->getEndLoc()),