reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
5924 QualType ArgType = Arg->getType(); 5931 Arg = Arg->IgnoreParenCasts(); 5931 Arg = Arg->IgnoreParenCasts(); 5936 while (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { 5941 Arg = UnOp->getSubExpr()->IgnoreParenCasts(); 5956 else if (Arg->getType()->isPointerType()) { 5960 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_not_decl_ref) 5961 << Arg->getSourceRange(); 5966 Arg = Arg->IgnoreImpCasts(); 5966 Arg = Arg->IgnoreImpCasts(); 5983 while (ParenExpr *Parens = dyn_cast<ParenExpr>(Arg)) { 5985 S.Diag(Arg->getBeginLoc(), 5989 << Arg->getSourceRange(); 5993 Arg = Parens->getSubExpr(); 5997 dyn_cast<SubstNonTypeTemplateParmExpr>(Arg)) 5998 Arg = subst->getReplacement()->IgnoreImpCasts(); 6000 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { 6002 Arg = UnOp->getSubExpr(); 6009 dyn_cast<SubstNonTypeTemplateParmExpr>(Arg)) 6010 Arg = subst->getReplacement()->IgnoreImpCasts(); 6013 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Arg); 6021 S.Diag(Arg->getExprLoc(), diag::warn_cxx98_compat_template_arg_null); 6036 if (Arg->isValueDependent()) { 6041 if (isa<CXXUuidofExpr>(Arg)) { 6043 ArgIn, Arg, ArgType)) 6051 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_not_decl_ref) 6052 << Arg->getSourceRange(); 6059 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_field) 6060 << Entity << Arg->getSourceRange(); 6068 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_method) 6069 << Method << Arg->getSourceRange(); 6081 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_not_object_or_func) 6082 << Arg->getSourceRange(); 6089 S.Diag(Arg->getBeginLoc(), 6093 << !Func << Entity << Arg->getSourceRange(); 6097 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_object_no_linkage) 6098 << !Func << Entity << Arg->getSourceRange(); 6130 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_reference_var) 6131 << Var->getType() << Arg->getSourceRange(); 6138 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_thread_local) 6139 << Arg->getSourceRange(); 6176 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_not_address_of) 6182 S.Diag(Arg->getBeginLoc(), diag::err_template_arg_not_address_of) 6183 << ParamType << FixItHint::CreateInsertion(Arg->getBeginLoc(), "&"); 6191 Arg, ArgType)) 6197 S.MarkAnyDeclReferenced(Arg->getBeginLoc(), Entity, false);