clang 22.0.0git
FormatString.cpp File Reference
#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)

Function Documentation

◆ integerTypeMatch()

◆ matchesSizeTPtrdiffT()

◆ namedTypeToLengthModifierKind()