Lines Matching refs:FExpr
2286 const StringLiteral *FExpr;
2301 CheckFormatHandler(Sema &s, const StringLiteral *fexpr,
2308 : S(s), FExpr(fexpr), OrigFormatExpr(origFormatExpr),
2401 return S.getLocationOfStringLiteralByte(FExpr, x - Beg);
2698 CheckPrintfHandler(Sema &s, const StringLiteral *fexpr,
2706 : CheckFormatHandler(s, fexpr, origFormatExpr, firstDataArg,
3350 CheckScanfHandler(Sema &s, const StringLiteral *fexpr,
3357 : CheckFormatHandler(s, fexpr, origFormatExpr, firstDataArg,
3511 void Sema::CheckFormatString(const StringLiteral *FExpr,
3520 if (!FExpr->isAscii() && !FExpr->isUTF8()) {
3523 PDiag(diag::warn_format_string_is_wide_literal), FExpr->getLocStart(),
3529 StringRef StrRef = FExpr->getString();
3532 const ConstantArrayType *T = Context.getAsConstantArrayType(FExpr->getType());
3545 FExpr->getLocStart(),
3554 PDiag(diag::warn_empty_format_string), FExpr->getLocStart(),
3560 CheckPrintfHandler H(*this, FExpr, OrigFormatExpr, firstDataArg,
3570 CheckScanfHandler H(*this, FExpr, OrigFormatExpr, firstDataArg, numDataArgs,