Lines Matching defs:ArgumentExpr
6476 EmitFormatDiagnostic(Sema &S, bool inFunctionCall, const Expr *ArgumentExpr,
6823 /// \param ArgumentExpr the expression that is passed as the format string
6845 Sema &S, bool InFunctionCall, const Expr *ArgumentExpr,
6853 S.Diag(IsStringLocation ? ArgumentExpr->getExprLoc() : Loc, PDiag)
6854 << ArgumentExpr->getSourceRange();
14437 const Expr *ArgumentExpr = ExprArgs[ArgumentIdxAST];
14440 if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(ArgumentExpr))
14443 ArgumentExpr = ICE->getSubExpr();
14445 QualType ArgumentType = ArgumentExpr->getType();
14453 if (!ArgumentExpr->isNullPointerConstant(Context,
14455 Diag(ArgumentExpr->getExprLoc(),
14458 << ArgumentExpr->getSourceRange()
14491 Diag(ArgumentExpr->getExprLoc(), diag::warn_type_safety_type_mismatch)
14494 << ArgumentExpr->getSourceRange()