clang 20.0.0git
Classes | Namespaces | Functions
FormatStringParsing.h File Reference
#include "clang/AST/ASTContext.h"
#include "clang/AST/Type.h"
#include "clang/AST/FormatString.h"

Go to the source code of this file.

Classes

class  clang::UpdateOnReturn< T >
 
class  clang::analyze_format_string::SpecifierResult< T >
 

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.
 

Functions

OptionalAmount clang::analyze_format_string::ParseAmount (const char *&Beg, const char *E)
 
OptionalAmount clang::analyze_format_string::ParseNonPositionAmount (const char *&Beg, const char *E, unsigned &argIndex)
 
OptionalAmount clang::analyze_format_string::ParsePositionAmount (FormatStringHandler &H, const char *Start, const char *&Beg, const char *E, PositionContext p)
 
bool clang::analyze_format_string::ParseFieldWidth (FormatStringHandler &H, FormatSpecifier &CS, const char *Start, const char *&Beg, const char *E, unsigned *argIndex)
 
bool clang::analyze_format_string::ParseArgPosition (FormatStringHandler &H, FormatSpecifier &CS, const char *Start, const char *&Beg, const char *E)
 
bool clang::analyze_format_string::ParseVectorModifier (FormatStringHandler &H, FormatSpecifier &FS, const char *&Beg, const char *E, const LangOptions &LO)
 
bool clang::analyze_format_string::ParseLengthModifier (FormatSpecifier &FS, const char *&Beg, const char *E, const LangOptions &LO, bool IsScanf=false)
 Returns true if a LengthModifier was parsed and installed in the FormatSpecifier& argument, and false otherwise.
 
bool clang::analyze_format_string::ParseUTF8InvalidSpecifier (const char *SpecifierBegin, const char *FmtStrEnd, unsigned &Len)
 Returns true if the invalid specifier in SpecifierBegin is a UTF-8 string; check that it won't go further than FmtStrEnd and write up the total size in Len.