Home | History | Annotate | Download | only in Sema

Lines Matching refs:Arg

104   ExprResult Arg(TheCall->getArg(0));
105 QualType ResultType = S.CheckAddressOfOperand(Arg, TheCall->getLocStart());
109 TheCall->setArg(0, Arg.get());
447 Expr *Arg = TheCall->getArg(PtrArgNum);
448 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(Arg))
449 Arg = ICE->getSubExpr();
450 ExprResult RHS = DefaultFunctionArrayLvalueConversion(Arg);
467 if (DiagnoseAssignmentResult(ConvTy, Arg->getLocStart(), LHSTy, RHSTy,
781 if (const Expr *Arg = Args[ArgIdx]) {
783 checkVariadicArgument(Arg, CallType);
1183 ExprResult Arg = TheCall->getArg(i);
1184 Arg = PerformCopyInitialization(Entity, SourceLocation(), Arg);
1185 if (Arg.isInvalid())
1187 TheCall->setArg(i, Arg.get());
1266 ExprResult Arg = E->getArg(0);
1267 Arg = S.PerformCopyInitialization(Entity, SourceLocation(), Arg);
1268 if (Arg.isInvalid())
1271 E->setArg(ArgIndex, Arg.get());
1567 ExprResult Arg = TheCall->getArg(i+1);
1574 Arg = PerformCopyInitialization(Entity, SourceLocation(), Arg);
1575 if (Arg.isInvalid())
1584 TheCall->setArg(i+1, Arg.get());
1619 bool Sema::CheckObjCString(Expr *Arg) {
1620 Arg = Arg->IgnoreParenCasts();
1621 StringLiteral *Literal = dyn_cast<StringLiteral>(Arg);
1624 Diag(Arg->getLocStart(), diag::err_cfstring_literal_not_string_constant)
1625 << Arg->getSourceRange();
1641 Diag(Arg->getLocStart(),
1642 diag::warn_cfstring_truncated) << Arg->getSourceRange();
1689 const Expr *Arg = TheCall->getArg(1)->IgnoreParenCasts();
1696 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Arg)) {
1718 Diag(Arg->getLocStart(),
1949 Expr *Arg = TheCall->getArg(ArgNum);
1953 if (Arg->isTypeDependent() || Arg->isValueDependent()) return false;
1955 if (!Arg->isIntegerConstantExpr(Result, Context))
1957 << FDecl->getDeclName() << Arg->getSourceRange();
1969 Expr *Arg = TheCall->getArg(ArgNum);
1970 if (Arg->isTypeDependent() || Arg->isValueDependent())
1979 << Low << High << Arg->getSourceRange();
1987 Expr *Arg = TheCall->getArg(1);
1996 << SourceRange(Arg->getLocStart(), Arg->getLocEnd());
2150 const Expr *Arg = CE->getArg(ArgIndex - 1);
2152 return checkFormatStringExpr(S, Arg, Args,
2160 const Expr *Arg
2161 return checkFormatStringExpr(S, Arg, Args,
2782 const Expr *Arg = getDataArg(argIndex);
2783 if (!Arg)
2786 QualType T = Arg->getType();
2794 << T << Arg->getSourceRange(),
3044 const Expr *Arg = getDataArg(argIndex);
3045 if (!Arg)
3048 return checkFormatExpr(FS, startSpecifier, specifierLen, Arg);
4102 // cache the sizeof arg's ID.