Lines Matching refs:FExpr
3789 static void CheckFormatString(Sema &S, const StringLiteral *FExpr,
4128 const StringLiteral *FExpr; member in __anon34f7ff5c0511::CheckFormatHandler
4153 : S(s), FExpr(fexpr), OrigFormatExpr(origFormatExpr), in CheckFormatHandler()
4245 return S.getLocationOfStringLiteralByte(FExpr, x - Beg); in getLocationOfByte()
5542 static void CheckFormatString(Sema &S, const StringLiteral *FExpr, in CheckFormatString() argument
5553 if (!FExpr->isAscii() && !FExpr->isUTF8()) { in CheckFormatString()
5556 S.PDiag(diag::warn_format_string_is_wide_literal), FExpr->getLocStart(), in CheckFormatString()
5562 StringRef StrRef = FExpr->getString(); in CheckFormatString()
5566 S.Context.getAsConstantArrayType(FExpr->getType()); in CheckFormatString()
5579 FExpr->getLocStart(), in CheckFormatString()
5588 S.PDiag(diag::warn_empty_format_string), FExpr->getLocStart(), in CheckFormatString()
5595 CheckPrintfHandler H(S, FExpr, OrigFormatExpr, firstDataArg, in CheckFormatString()
5608 CheckScanfHandler H(S, FExpr, OrigFormatExpr, firstDataArg, numDataArgs, in CheckFormatString()
5620 bool Sema::FormatStringHasSArg(const StringLiteral *FExpr) { in FormatStringHasSArg() argument
5622 StringRef StrRef = FExpr->getString(); in FormatStringHasSArg()
5625 const ConstantArrayType *T = Context.getAsConstantArrayType(FExpr->getType()); in FormatStringHasSArg()