Lines Matching refs:FExpr

6266   const StringLiteral *FExpr;  member in __anon7dcd61c00e11::FormatStringLiteral
6271 : FExpr(fexpr), Offset(Offset) {} in FormatStringLiteral()
6274 return FExpr->getString().drop_front(Offset); in getString()
6278 return FExpr->getByteLength() - getCharByteWidth() * Offset; in getByteLength()
6281 unsigned getLength() const { return FExpr->getLength() - Offset; } in getLength()
6282 unsigned getCharByteWidth() const { return FExpr->getCharByteWidth(); } in getCharByteWidth()
6284 StringLiteral::StringKind getKind() const { return FExpr->getKind(); } in getKind()
6286 QualType getType() const { return FExpr->getType(); } in getType()
6288 bool isAscii() const { return FExpr->isAscii(); } in isAscii()
6289 bool isWide() const { return FExpr->isWide(); } in isWide()
6290 bool isUTF8() const { return FExpr->isUTF8(); } in isUTF8()
6291 bool isUTF16() const { return FExpr->isUTF16(); } in isUTF16()
6292 bool isUTF32() const { return FExpr->isUTF32(); } in isUTF32()
6293 bool isPascal() const { return FExpr->isPascal(); } in isPascal()
6299 return FExpr->getLocationOfByte(ByteNo + Offset, SM, Features, Target, in getLocationOfByte()
6304 return FExpr->getBeginLoc().getLocWithOffset(Offset); in getBeginLoc()
6307 SourceLocation getEndLoc() const LLVM_READONLY { return FExpr->getEndLoc(); } in getEndLoc()
6312 static void CheckFormatString(Sema &S, const FormatStringLiteral *FExpr,
6728 const FormatStringLiteral *FExpr; member in __anon7dcd61c00f11::CheckFormatHandler
6754 : S(s), FExpr(fexpr), OrigFormatExpr(origFormatExpr), FSType(type), in CheckFormatHandler()
6845 return FExpr->getLocationOfByte(x - Beg, S.getSourceManager(), in getLocationOfByte()
8228 static void CheckFormatString(Sema &S, const FormatStringLiteral *FExpr, in CheckFormatString() argument
8239 if (!FExpr->isAscii() && !FExpr->isUTF8()) { in CheckFormatString()
8242 S.PDiag(diag::warn_format_string_is_wide_literal), FExpr->getBeginLoc(), in CheckFormatString()
8248 StringRef StrRef = FExpr->getString(); in CheckFormatString()
8252 S.Context.getAsConstantArrayType(FExpr->getType()); in CheckFormatString()
8265 FExpr->getBeginLoc(), in CheckFormatString()
8274 S.PDiag(diag::warn_empty_format_string), FExpr->getBeginLoc(), in CheckFormatString()
8283 S, FExpr, OrigFormatExpr, Type, firstDataArg, numDataArgs, in CheckFormatString()
8294 CheckScanfHandler H(S, FExpr, OrigFormatExpr, Type, firstDataArg, in CheckFormatString()
8305 bool Sema::FormatStringHasSArg(const StringLiteral *FExpr) { in FormatStringHasSArg() argument
8307 StringRef StrRef = FExpr->getString(); in FormatStringHasSArg()
8310 const ConstantArrayType *T = Context.getAsConstantArrayType(FExpr->getType()); in FormatStringHasSArg()