Lines Matching refs:FExpr

7205   const StringLiteral *FExpr;  member in __anon7fa672bc1311::FormatStringLiteral
7210 : FExpr(fexpr), Offset(Offset) {} in FormatStringLiteral()
7213 return FExpr->getString().drop_front(Offset); in getString()
7217 return FExpr->getByteLength() - getCharByteWidth() * Offset; in getByteLength()
7220 unsigned getLength() const { return FExpr->getLength() - Offset; } in getLength()
7221 unsigned getCharByteWidth() const { return FExpr->getCharByteWidth(); } in getCharByteWidth()
7223 StringLiteral::StringKind getKind() const { return FExpr->getKind(); } in getKind()
7225 QualType getType() const { return FExpr->getType(); } in getType()
7227 bool isAscii() const { return FExpr->isAscii(); } in isAscii()
7228 bool isWide() const { return FExpr->isWide(); } in isWide()
7229 bool isUTF8() const { return FExpr->isUTF8(); } in isUTF8()
7230 bool isUTF16() const { return FExpr->isUTF16(); } in isUTF16()
7231 bool isUTF32() const { return FExpr->isUTF32(); } in isUTF32()
7232 bool isPascal() const { return FExpr->isPascal(); } in isPascal()
7238 return FExpr->getLocationOfByte(ByteNo + Offset, SM, Features, Target, in getLocationOfByte()
7243 return FExpr->getBeginLoc().getLocWithOffset(Offset); in getBeginLoc()
7246 SourceLocation getEndLoc() const LLVM_READONLY { return FExpr->getEndLoc(); } in getEndLoc()
7251 static void CheckFormatString(Sema &S, const FormatStringLiteral *FExpr,
7695 const FormatStringLiteral *FExpr; member in __anon7fa672bc1411::CheckFormatHandler
7721 : S(s), FExpr(fexpr), OrigFormatExpr(origFormatExpr), FSType(type), in CheckFormatHandler()
7812 return FExpr->getLocationOfByte(x - Beg, S.getSourceManager(), in getLocationOfByte()
9238 static void CheckFormatString(Sema &S, const FormatStringLiteral *FExpr, in CheckFormatString() argument
9250 if (!FExpr->isAscii() && !FExpr->isUTF8()) { in CheckFormatString()
9253 S.PDiag(diag::warn_format_string_is_wide_literal), FExpr->getBeginLoc(), in CheckFormatString()
9259 StringRef StrRef = FExpr->getString(); in CheckFormatString()
9263 S.Context.getAsConstantArrayType(FExpr->getType()); in CheckFormatString()
9281 FExpr->getBeginLoc(), in CheckFormatString()
9290 S.PDiag(diag::warn_empty_format_string), FExpr->getBeginLoc(), in CheckFormatString()
9299 S, FExpr, OrigFormatExpr, Type, firstDataArg, numDataArgs, in CheckFormatString()
9310 CheckScanfHandler H(S, FExpr, OrigFormatExpr, Type, firstDataArg, in CheckFormatString()
9321 bool Sema::FormatStringHasSArg(const StringLiteral *FExpr) { in FormatStringHasSArg() argument
9323 StringRef StrRef = FExpr->getString(); in FormatStringHasSArg()
9326 const ConstantArrayType *T = Context.getAsConstantArrayType(FExpr->getType()); in FormatStringHasSArg()