Home | History | Annotate | Download | only in Sema

Lines Matching refs:Arg

2997         TemplateArgument Arg(Context, Value, Context.CharTy);
2999 ExplicitArgs.addArgument(TemplateArgumentLoc(Arg, ArgInfo));
3825 Expr *Arg = Result.takeAs<Expr>();
3826 CheckCompletedExpr(Arg, Param->getOuterLocStart());
3828 return Owned(CXXDefaultArgExpr::Create(Context, CallLoc, Param, Arg));
4099 Expr *Arg;
4102 Arg = Args[ArgIx++];
4104 if (RequireCompleteType(Arg->getLocStart(),
4106 diag::err_call_incomplete_argument, Arg))
4116 if (Arg
4119 Arg = stripARCUnbridgedCast(Arg);
4136 Owned(Arg),
4142 Arg = ArgE.takeAs<Expr>();
4152 Arg = ArgExpr.takeAs<Expr>();
4158 CheckArrayAccess(Arg);
4161 CheckStaticArrayArgument(CallLoc, Param, Arg);
4163 AllArgs.push_back(Arg);
4174 ExprResult arg = checkUnknownAnyArg(CallLoc, Args[i], paramType);
4175 Invalid |= arg.isInvalid();
4176 AllArgs.push_back(arg.take());
4182 ExprResult Arg = DefaultVariadicArgumentPromotion(Args[i], CallType,
4184 Invalid |= Arg.isInvalid();
4185 AllArgs.push_back(Arg.take());
4594 Expr *Arg = Args[i];
4603 Owned(Arg));
4607 Arg = ArgE.takeAs<Expr>();
4610 ExprResult ArgE = DefaultArgumentPromotion(Arg);
4615 Arg = ArgE.takeAs<Expr>();
4618 if (RequireCompleteType(Arg->getLocStart(),
4619 Arg->getType(),
4620 diag::err_call_incomplete_argument, Arg))
4623 TheCall->setArg(i, Arg);
11894 bool TraverseTemplateArgument(const TemplateArgument &Arg);
11900 const TemplateArgument &Arg) {
11901 if (Arg.getKind() == TemplateArgument::Declaration) {
11902 if (Decl *D = Arg.getAsDecl())
11906 return Inherited::TraverseTemplateArgument(Arg);
12453 Expr *Arg = E->getArg(i);
12454 QualType ArgType = Arg->getType();
12631 Expr *arg, QualType &paramType) {
12634 ExplicitCastExpr *castArg = dyn_cast<ExplicitCastExpr>(arg->IgnoreParens());
12636 ExprResult result = DefaultArgumentPromotion(arg);
12643 assert(!arg->hasPlaceholderType());
12650 return PerformCopyInitialization(entity, callLoc, Owned(arg));