• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/

Lines Matching defs:FExpr

6725   const StringLiteral *FExpr;
6730 : FExpr(fexpr), Offset(Offset) {}
6733 return FExpr->getString().drop_front(Offset);
6737 return FExpr->getByteLength() - getCharByteWidth() * Offset;
6740 unsigned getLength() const { return FExpr->getLength() - Offset; }
6741 unsigned getCharByteWidth() const { return FExpr->getCharByteWidth(); }
6743 StringLiteral::StringKind getKind() const { return FExpr->getKind(); }
6745 QualType getType() const { return FExpr->getType(); }
6747 bool isAscii() const { return FExpr->isAscii(); }
6748 bool isWide() const { return FExpr->isWide(); }
6749 bool isUTF8() const { return FExpr->isUTF8(); }
6750 bool isUTF16() const { return FExpr->isUTF16(); }
6751 bool isUTF32() const { return FExpr->isUTF32(); }
6752 bool isPascal() const { return FExpr->isPascal(); }
6758 return FExpr->getLocationOfByte(ByteNo + Offset, SM, Features, Target,
6763 return FExpr->getBeginLoc().getLocWithOffset(Offset);
6766 SourceLocation getEndLoc() const LLVM_READONLY { return FExpr->getEndLoc(); }
6771 static void CheckFormatString(Sema &S, const FormatStringLiteral *FExpr,
7215 const FormatStringLiteral *FExpr;
7241 : S(s), FExpr(fexpr), OrigFormatExpr(origFormatExpr), FSType(type),
7332 return FExpr->getLocationOfByte(x - Beg, S.getSourceManager(),
8755 static void CheckFormatString(Sema &S, const FormatStringLiteral *FExpr,
8767 if (!FExpr->isAscii() && !FExpr->isUTF8()) {
8770 S.PDiag(diag::warn_format_string_is_wide_literal), FExpr->getBeginLoc(),
8776 StringRef StrRef = FExpr->getString();
8780 S.Context.getAsConstantArrayType(FExpr->getType());
8798 FExpr->getBeginLoc(),
8807 S.PDiag(diag::warn_empty_format_string), FExpr->getBeginLoc(),
8816 S, FExpr, OrigFormatExpr, Type, firstDataArg, numDataArgs,
8827 CheckScanfHandler H(S, FExpr, OrigFormatExpr, Type, firstDataArg,
8838 bool Sema::FormatStringHasSArg(const StringLiteral *FExpr) {
8840 StringRef StrRef = FExpr->getString();
8843 const ConstantArrayType *T = Context.getAsConstantArrayType(FExpr->getType());