clang
3.7.0
|
#include <FormatString.h>
Static Public Member Functions | |
static ScanfSpecifier | Parse (const char *beg, const char *end) |
![]() | |
static bool | namedTypeToLengthModifier (QualType QT, LengthModifier &LM) |
Additional Inherited Members | |
![]() | |
LengthModifier | LM |
OptionalAmount | FieldWidth |
ConversionSpecifier | CS |
bool | UsesPositionalArg |
unsigned | argIndex |
Definition at line 561 of file FormatString.h.
|
inline |
Definition at line 564 of file FormatString.h.
|
inline |
Definition at line 584 of file FormatString.h.
References clang::analyze_format_string::ConversionSpecifier::consumesDataArgument(), and clang::analyze_format_string::FormatSpecifier::CS.
bool ScanfSpecifier::fixType | ( | QualType | QT, |
QualType | RawQT, | ||
const LangOptions & | LangOpt, | ||
ASTContext & | Ctx | ||
) |
Definition at line 402 of file ScanfFormatString.cpp.
References clang::Type::getAs(), clang::ASTContext::getAsConstantArrayType(), clang::BuiltinType::getKind(), clang::Type::getPointeeType(), clang::ASTContext::getTargetInfo(), clang::Type::isAnyCharacterType(), clang::Type::isPointerType(), clang::Type::isRealFloatingType(), clang::Type::isSignedIntegerType(), clang::Type::isUnsignedIntegerType(), clang::Type::isWideCharType(), clang::None, and clang::ArrayType::Normal.
ArgType ScanfSpecifier::getArgType | ( | ASTContext & | Ctx | ) | const |
Definition at line 221 of file ScanfFormatString.cpp.
References clang::analyze_format_string::ConversionSpecifier::consumesDataArgument(), clang::ASTContext::DoubleTy, clang::ASTContext::FloatTy, clang::ASTContext::getIntMaxType(), clang::analyze_format_string::ConversionSpecifier::getKind(), clang::ASTContext::getPointerDiffType(), clang::ASTContext::getSizeType(), clang::ASTContext::getTargetInfo(), clang::TargetInfo::getTriple(), clang::ASTContext::getUIntMaxType(), clang::ASTContext::getWideCharType(), clang::ASTContext::IntTy, clang::ASTContext::LongDoubleTy, clang::ASTContext::LongLongTy, clang::ASTContext::LongTy, clang::None, clang::ASTContext::ShortTy, clang::ASTContext::SignedCharTy, clang::ASTContext::UnsignedCharTy, clang::ASTContext::UnsignedIntTy, clang::ASTContext::UnsignedLongLongTy, clang::ASTContext::UnsignedLongTy, and clang::ASTContext::UnsignedShortTy.
|
inline |
Definition at line 580 of file FormatString.h.
References clang::analyze_format_string::FormatSpecifier::CS.
|
inline |
Definition at line 572 of file FormatString.h.
|
static |
|
inline |
Definition at line 576 of file FormatString.h.
References clang::analyze_format_string::FormatSpecifier::CS.
|
inline |
Definition at line 568 of file FormatString.h.
void ScanfSpecifier::toString | ( | raw_ostream & | os | ) | const |
Definition at line 512 of file ScanfFormatString.cpp.