clang  6.0.0svn
Classes | Namespaces | Functions
FormatStringParsing.h File Reference
#include "clang/AST/ASTContext.h"
#include "clang/AST/Type.h"
#include "clang/Analysis/Analyses/FormatString.h"
Include dependency graph for FormatStringParsing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

 clang
 Dataflow Directional Tag Classes.
 
 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::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. More...
 
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. More...