clang API Documentation
#include "clang/Analysis/Analyses/FormatString.h"
#include "FormatStringParsing.h"
#include "clang/Basic/TargetInfo.h"
Go to the source code of this file.
Typedefs | |
typedef clang::analyze_format_string::SpecifierResult < ScanfSpecifier > | ScanfSpecifierResult |
Functions | |
static bool | ParseScanList (FormatStringHandler &H, ScanfConversionSpecifier &CS, const char *&Beg, const char *E) |
static ScanfSpecifierResult | ParseScanfSpecifier (FormatStringHandler &H, const char *&Beg, const char *E, unsigned &argIndex, const LangOptions &LO, const TargetInfo &Target) |
Definition at line 30 of file ScanfFormatString.cpp.
static ScanfSpecifierResult ParseScanfSpecifier | ( | FormatStringHandler & | H, |
const char *& | Beg, | ||
const char * | E, | ||
unsigned & | argIndex, | ||
const LangOptions & | LO, | ||
const TargetInfo & | Target | ||
) | [static] |
Definition at line 76 of file ScanfFormatString.cpp.
References clang::analyze_format_string::ConversionSpecifier::consumesDataArgument(), clang::TargetInfo::getTriple(), clang::analyze_format_string::FormatStringHandler::HandleIncompleteSpecifier(), clang::analyze_format_string::FormatStringHandler::HandleInvalidScanfConversionSpecifier(), clang::analyze_format_string::FormatStringHandler::HandleNullChar(), clang::analyze_format_string::ParseAmount(), clang::analyze_format_string::ParseArgPosition(), clang::analyze_format_string::ParseLengthModifier(), and ParseScanList().
Referenced by clang::analyze_format_string::ParseScanfString().
static bool ParseScanList | ( | FormatStringHandler & | H, |
ScanfConversionSpecifier & | CS, | ||
const char *& | Beg, | ||
const char * | E | ||
) | [static] |
Definition at line 32 of file ScanfFormatString.cpp.
References clang::analyze_format_string::FormatStringHandler::HandleIncompleteScanList(), and clang::analyze_scanf::ScanfConversionSpecifier::setEndScanList().
Referenced by ParseScanfSpecifier().