clang API Documentation

Classes | Namespaces | Enumerations | Functions
FormatString.h File Reference
#include "clang/AST/CanonicalType.h"
Include dependency graph for FormatString.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clang::analyze_format_string::OptionalFlag
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
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 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)