clang API Documentation

Defines | Typedefs | Functions
PrintfFormatString.cpp File Reference
#include "clang/Analysis/Analyses/FormatString.h"
#include "FormatStringParsing.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/AST/BuiltinTypes.def"
Include dependency graph for PrintfFormatString.cpp:

Go to the source code of this file.

Defines

#define SIGNED_TYPE(Id, SingletonId)
#define UNSIGNED_TYPE(Id, SingletonId)
#define FLOATING_TYPE(Id, SingletonId)
#define BUILTIN_TYPE(Id, SingletonId)   case BuiltinType::Id:

Typedefs

typedef
clang::analyze_format_string::SpecifierResult
< PrintfSpecifier
PrintfSpecifierResult

Functions

static bool ParsePrecision (FormatStringHandler &H, PrintfSpecifier &FS, const char *Start, const char *&Beg, const char *E, unsigned *argIndex)
static PrintfSpecifierResult ParsePrintfSpecifier (FormatStringHandler &H, const char *&Beg, const char *E, unsigned &argIndex, const LangOptions &LO, const TargetInfo &Target, bool Warn)

Define Documentation

#define BUILTIN_TYPE (   Id,
  SingletonId 
)    case BuiltinType::Id:
#define FLOATING_TYPE (   Id,
  SingletonId 
)
#define SIGNED_TYPE (   Id,
  SingletonId 
)
#define UNSIGNED_TYPE (   Id,
  SingletonId 
)

Typedef Documentation

Definition at line 29 of file PrintfFormatString.cpp.


Function Documentation

static bool ParsePrecision ( FormatStringHandler H,
PrintfSpecifier FS,
const char *  Start,
const char *&  Beg,
const char *  E,
unsigned argIndex 
) [static]
static PrintfSpecifierResult ParsePrintfSpecifier ( FormatStringHandler H,
const char *&  Beg,
const char *  E,
unsigned argIndex,
const LangOptions LO,
const TargetInfo Target,
bool  Warn 
) [static]