Home
last modified time | relevance | path

Searched refs:FExpr (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp7002 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()
[all …]
/external/clang/lib/Sema/
DSemaChecking.cpp3789 static void CheckFormatString(Sema &S, const StringLiteral *FExpr,
4128 const StringLiteral *FExpr; member in __anon817ecb130511::CheckFormatHandler
4153 : S(s), FExpr(fexpr), OrigFormatExpr(origFormatExpr), in CheckFormatHandler()
4245 return S.getLocationOfStringLiteralByte(FExpr, x - Beg); in getLocationOfByte()
5542 static void CheckFormatString(Sema &S, const StringLiteral *FExpr, in CheckFormatString() argument
5553 if (!FExpr->isAscii() && !FExpr->isUTF8()) { in CheckFormatString()
5556 S.PDiag(diag::warn_format_string_is_wide_literal), FExpr->getLocStart(), in CheckFormatString()
5562 StringRef StrRef = FExpr->getString(); in CheckFormatString()
5566 S.Context.getAsConstantArrayType(FExpr->getType()); in CheckFormatString()
5579 FExpr->getLocStart(), in CheckFormatString()
[all …]
/external/clang/include/clang/Sema/
DSema.h9422 bool FormatStringHasSArg(const StringLiteral *FExpr);
/external/llvm-project/clang/include/clang/Sema/
DSema.h12324 bool FormatStringHasSArg(const StringLiteral *FExpr);