Lines Matching refs:FExpr

8422   const StringLiteral *FExpr;  member in __anon8097fee11b11::FormatStringLiteral
8427 : FExpr(fexpr), Offset(Offset) {} in FormatStringLiteral()
8430 return FExpr->getString().drop_front(Offset); in getString()
8434 return FExpr->getByteLength() - getCharByteWidth() * Offset; in getByteLength()
8437 unsigned getLength() const { return FExpr->getLength() - Offset; } in getLength()
8438 unsigned getCharByteWidth() const { return FExpr->getCharByteWidth(); } in getCharByteWidth()
8440 StringLiteral::StringKind getKind() const { return FExpr->getKind(); } in getKind()
8442 QualType getType() const { return FExpr->getType(); } in getType()
8444 bool isAscii() const { return FExpr->isOrdinary(); } in isAscii()
8445 bool isWide() const { return FExpr->isWide(); } in isWide()
8446 bool isUTF8() const { return FExpr->isUTF8(); } in isUTF8()
8447 bool isUTF16() const { return FExpr->isUTF16(); } in isUTF16()
8448 bool isUTF32() const { return FExpr->isUTF32(); } in isUTF32()
8449 bool isPascal() const { return FExpr->isPascal(); } in isPascal()
8455 return FExpr->getLocationOfByte(ByteNo + Offset, SM, Features, Target, in getLocationOfByte()
8460 return FExpr->getBeginLoc().getLocWithOffset(Offset); in getBeginLoc()
8463 SourceLocation getEndLoc() const LLVM_READONLY { return FExpr->getEndLoc(); } in getEndLoc()
8469 Sema &S, const FormatStringLiteral *FExpr, const Expr *OrigFormatExpr,
8946 const FormatStringLiteral *FExpr; member in __anon8097fee11c11::CheckFormatHandler
8973 : S(s), FExpr(fexpr), OrigFormatExpr(origFormatExpr), FSType(type), in CheckFormatHandler()
9064 return FExpr->getLocationOfByte(x - Beg, S.getSourceManager(), in getLocationOfByte()
10523 Sema &S, const FormatStringLiteral *FExpr, const Expr *OrigFormatExpr, in CheckFormatString() argument
10530 if (!FExpr->isAscii() && !FExpr->isUTF8()) { in CheckFormatString()
10533 S.PDiag(diag::warn_format_string_is_wide_literal), FExpr->getBeginLoc(), in CheckFormatString()
10539 StringRef StrRef = FExpr->getString(); in CheckFormatString()
10543 S.Context.getAsConstantArrayType(FExpr->getType()); in CheckFormatString()
10560 FExpr->getBeginLoc(), in CheckFormatString()
10569 S.PDiag(diag::warn_empty_format_string), FExpr->getBeginLoc(), in CheckFormatString()
10578 S, FExpr, OrigFormatExpr, Type, firstDataArg, numDataArgs, in CheckFormatString()
10588 CheckScanfHandler H(S, FExpr, OrigFormatExpr, Type, firstDataArg, in CheckFormatString()
10598 bool Sema::FormatStringHasSArg(const StringLiteral *FExpr) { in FormatStringHasSArg() argument
10600 StringRef StrRef = FExpr->getString(); in FormatStringHasSArg()
10603 const ConstantArrayType *T = Context.getAsConstantArrayType(FExpr->getType()); in FormatStringHasSArg()