clang API Documentation

Classes | Namespaces | Functions
FormatStringParsing.h File Reference
#include "clang/AST/ASTContext.h"
#include "clang/AST/Type.h"
#include "clang/Analysis/Analyses/FormatString.h"
#include "llvm/Support/raw_ostream.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

namespace  clang
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::ParseLengthModifier (FormatSpecifier &FS, const char *&Beg, const char *E, const LangOptions &LO, bool IsScanf=false)