|
clang
3.8.0
|
#include <FormatString.h>
Static Public Member Functions | |
| static ScanfSpecifier | Parse (const char *beg, const char *end) |
Static Public Member Functions inherited from clang::analyze_format_string::FormatSpecifier | |
| static bool | namedTypeToLengthModifier (QualType QT, LengthModifier &LM) |
| For a TypedefType QT, if it is a named integer type such as size_t, assign the appropriate value to LM and return true. More... | |
Additional Inherited Members | |
Protected Attributes inherited from clang::analyze_format_string::FormatSpecifier | |
| LengthModifier | LM |
| OptionalAmount | FieldWidth |
| ConversionSpecifier | CS |
| bool | UsesPositionalArg |
| Positional arguments, an IEEE extension: IEEE Std 1003.1, 2004 Edition http://www.opengroup.org/onlinepubs/009695399/functions/printf.html. More... | |
| 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.
1.8.6