clang 20.0.0git
Classes | Namespaces | Enumerations | Functions
FormatString.h File Reference
#include "clang/AST/CanonicalType.h"
#include <optional>

Go to the source code of this file.

Classes

class  clang::analyze_format_string::OptionalFlag
 Class representing optional flags with location and representation information. More...
 
class  clang::analyze_format_string::LengthModifier
 Represents the length modifier in a format string in scanf/printf. More...
 
class  clang::analyze_format_string::ConversionSpecifier
 
class  clang::analyze_format_string::ArgType
 
class  clang::analyze_format_string::OptionalAmount
 
class  clang::analyze_format_string::FormatSpecifier
 
class  clang::analyze_printf::PrintfConversionSpecifier
 
class  clang::analyze_printf::PrintfSpecifier
 
class  clang::analyze_scanf::ScanfConversionSpecifier
 
class  clang::analyze_scanf::ScanfSpecifier
 
class  clang::analyze_format_string::FormatStringHandler
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::analyze_format_string
 Common components of both fprintf and fscanf format strings.
 
namespace  clang::analyze_printf
 Pieces specific to fprintf format strings.
 
namespace  clang::analyze_scanf
 Pieces specific to fscanf format strings.
 

Enumerations

enum  clang::analyze_format_string::PositionContext { clang::analyze_format_string::FieldWidthPos = 0 , clang::analyze_format_string::PrecisionPos = 1 }
 

Functions

bool clang::analyze_format_string::ParsePrintfString (FormatStringHandler &H, const char *beg, const char *end, const LangOptions &LO, const TargetInfo &Target, bool isFreeBSDKPrintf)
 
bool clang::analyze_format_string::ParseFormatStringHasSArg (const char *beg, const char *end, const LangOptions &LO, const TargetInfo &Target)
 
bool clang::analyze_format_string::ParseScanfString (FormatStringHandler &H, const char *beg, const char *end, const LangOptions &LO, const TargetInfo &Target)
 
bool clang::analyze_format_string::parseFormatStringHasFormattingSpecifiers (const char *Begin, const char *End, const LangOptions &LO, const TargetInfo &Target)
 Return true if the given string has at least one formatting specifier.