clang 22.0.0git
|
#include "FormatStringParsing.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/TargetInfo.h"
#include "llvm/Support/ConvertUTF.h"
#include <optional>
Go to the source code of this file.
Classes | |
class | ArgType |
class | FormatStringHandler |
class | FormatSpecifier |
class | LengthModifier |
Represents the length modifier in a format string in scanf/printf. More... | |
class | OptionalAmount |
class | ConversionSpecifier |
Functions | |
static bool | namedTypeToLengthModifierKind (ASTContext &Ctx, QualType QT, LengthModifier::Kind &K) |
static clang::analyze_format_string::ArgType::MatchKind | matchesSizeTPtrdiffT (ASTContext &C, QualType T, QualType E) |
static analyze_format_string::ArgType::MatchKind | integerTypeMatch (ASTContext &C, QualType A, QualType B, bool CheckSign) |
|
static |
Definition at line 667 of file FormatString.cpp.
References clang::C, and clang::Type::isSignedIntegerType().
Referenced by clang::analyze_format_string::ArgType::matchesArgType().
|
static |
Definition at line 371 of file FormatString.cpp.
References clang::C, clang::QualType::getCanonicalType(), and clang::T.
Referenced by clang::analyze_format_string::ArgType::matchesArgType(), and clang::analyze_format_string::ArgType::matchesType().
|
static |
Definition at line 323 of file FormatString.cpp.
References LengthModifier::AsIntMax, LengthModifier::AsPtrDiff, LengthModifier::AsSizeT, clang::Type::getAs(), and clang::ASTContext::getLangOpts().
Referenced by clang::analyze_format_string::FormatSpecifier::namedTypeToLengthModifier().