Lines Matching refs:FExpr

7002   const StringLiteral *FExpr;  member in __anone3e442a11111::FormatStringLiteral
7007 : FExpr(fexpr), Offset(Offset) {} in FormatStringLiteral()
7010 return FExpr->getString().drop_front(Offset); in getString()
7014 return FExpr->getByteLength() - getCharByteWidth() * Offset; in getByteLength()
7017 unsigned getLength() const { return FExpr->getLength() - Offset; } in getLength()
7018 unsigned getCharByteWidth() const { return FExpr->getCharByteWidth(); } in getCharByteWidth()
7020 StringLiteral::StringKind getKind() const { return FExpr->getKind(); } in getKind()
7022 QualType getType() const { return FExpr->getType(); } in getType()
7024 bool isAscii() const { return FExpr->isAscii(); } in isAscii()
7025 bool isWide() const { return FExpr->isWide(); } in isWide()
7026 bool isUTF8() const { return FExpr->isUTF8(); } in isUTF8()
7027 bool isUTF16() const { return FExpr->isUTF16(); } in isUTF16()
7028 bool isUTF32() const { return FExpr->isUTF32(); } in isUTF32()
7029 bool isPascal() const { return FExpr->isPascal(); } in isPascal()
7035 return FExpr->getLocationOfByte(ByteNo + Offset, SM, Features, Target, in getLocationOfByte()
7040 return FExpr->getBeginLoc().getLocWithOffset(Offset); in getBeginLoc()
7043 SourceLocation getEndLoc() const LLVM_READONLY { return FExpr->getEndLoc(); } in getEndLoc()
7048 static void CheckFormatString(Sema &S, const FormatStringLiteral *FExpr,
7492 const FormatStringLiteral *FExpr; member in __anone3e442a11211::CheckFormatHandler
7518 : S(s), FExpr(fexpr), OrigFormatExpr(origFormatExpr), FSType(type), in CheckFormatHandler()
7609 return FExpr->getLocationOfByte(x - Beg, S.getSourceManager(), in getLocationOfByte()
9032 static void CheckFormatString(Sema &S, const FormatStringLiteral *FExpr, in CheckFormatString() argument
9044 if (!FExpr->isAscii() && !FExpr->isUTF8()) { in CheckFormatString()
9047 S.PDiag(diag::warn_format_string_is_wide_literal), FExpr->getBeginLoc(), in CheckFormatString()
9053 StringRef StrRef = FExpr->getString(); in CheckFormatString()
9057 S.Context.getAsConstantArrayType(FExpr->getType()); in CheckFormatString()
9075 FExpr->getBeginLoc(), in CheckFormatString()
9084 S.PDiag(diag::warn_empty_format_string), FExpr->getBeginLoc(), in CheckFormatString()
9093 S, FExpr, OrigFormatExpr, Type, firstDataArg, numDataArgs, in CheckFormatString()
9104 CheckScanfHandler H(S, FExpr, OrigFormatExpr, Type, firstDataArg, in CheckFormatString()
9115 bool Sema::FormatStringHasSArg(const StringLiteral *FExpr) { in FormatStringHasSArg() argument
9117 StringRef StrRef = FExpr->getString(); in FormatStringHasSArg()
9120 const ConstantArrayType *T = Context.getAsConstantArrayType(FExpr->getType()); in FormatStringHasSArg()