clang API Documentation
#include <FormatString.h>
Definition at line 120 of file FormatString.h.
Definition at line 122 of file FormatString.h.
clang::analyze_format_string::ConversionSpecifier::ConversionSpecifier | ( | bool | isPrintf = true | ) | [inline] |
Definition at line 174 of file FormatString.h.
clang::analyze_format_string::ConversionSpecifier::ConversionSpecifier | ( | bool | isPrintf, |
const char * | pos, | ||
Kind | k | ||
) | [inline] |
Definition at line 178 of file FormatString.h.
bool clang::analyze_format_string::ConversionSpecifier::consumesDataArgument | ( | ) | const [inline] |
Definition at line 189 of file FormatString.h.
References IsPrintf, kind, PercentArg, and PrintErrno.
Referenced by clang::analyze_printf::PrintfSpecifier::consumesDataArgument(), clang::analyze_scanf::ScanfSpecifier::consumesDataArgument(), clang::analyze_printf::PrintfSpecifier::getArgType(), clang::analyze_scanf::ScanfSpecifier::getArgType(), ParsePrintfSpecifier(), and ParseScanfSpecifier().
StringRef clang::analyze_format_string::ConversionSpecifier::getCharacters | ( | ) | const [inline] |
Definition at line 185 of file FormatString.h.
References getLength(), and getStart().
Kind clang::analyze_format_string::ConversionSpecifier::getKind | ( | ) | const [inline] |
Definition at line 201 of file FormatString.h.
References kind.
Referenced by clang::analyze_printf::PrintfSpecifier::getArgType(), clang::analyze_scanf::ScanfSpecifier::getArgType(), clang::analyze_format_string::FormatSpecifier::getCorrectedLengthModifier(), getStandardSpecifier(), clang::analyze_format_string::FormatSpecifier::hasStandardConversionSpecifier(), clang::analyze_format_string::FormatSpecifier::hasStandardLengthConversionCombination(), clang::analyze_format_string::FormatSpecifier::hasValidLengthModifier(), and clang::analyze_format_string::ParseFormatStringHasSArg().
unsigned clang::analyze_format_string::ConversionSpecifier::getLength | ( | ) | const [inline] |
Reimplemented in clang::analyze_printf::PrintfConversionSpecifier.
Definition at line 203 of file FormatString.h.
References EndScanList, and Position.
Referenced by getCharacters().
Optional< ConversionSpecifier > ConversionSpecifier::getStandardSpecifier | ( | ) | const |
const char* clang::analyze_format_string::ConversionSpecifier::getStart | ( | ) | const [inline] |
bool clang::analyze_format_string::ConversionSpecifier::isAnyIntArg | ( | ) | const [inline] |
Definition at line 209 of file FormatString.h.
References IntArgBeg, kind, and UIntArgEnd.
Referenced by clang::analyze_format_string::FormatSpecifier::getCorrectedLengthModifier().
bool clang::analyze_format_string::ConversionSpecifier::isIntArg | ( | ) | const [inline] |
Definition at line 207 of file FormatString.h.
References IntArgBeg, IntArgEnd, and kind.
Referenced by clang::analyze_printf::PrintfSpecifier::getArgType().
bool clang::analyze_format_string::ConversionSpecifier::isPrintfKind | ( | ) | const [inline] |
Definition at line 212 of file FormatString.h.
References IsPrintf.
Referenced by clang::analyze_printf::PrintfConversionSpecifier::classof(), and clang::analyze_scanf::ScanfConversionSpecifier::classof().
bool clang::analyze_format_string::ConversionSpecifier::isUIntArg | ( | ) | const [inline] |
Definition at line 208 of file FormatString.h.
References kind, UIntArgBeg, and UIntArgEnd.
Referenced by clang::analyze_printf::PrintfSpecifier::getArgType().
void clang::analyze_format_string::ConversionSpecifier::setKind | ( | Kind | k | ) | [inline] |
Definition at line 202 of file FormatString.h.
References kind.
Referenced by getStandardSpecifier().
const char * ConversionSpecifier::toString | ( | ) | const |
const char* clang::analyze_format_string::ConversionSpecifier::EndScanList [protected] |
Definition at line 219 of file FormatString.h.
Referenced by getLength(), and clang::analyze_scanf::ScanfConversionSpecifier::setEndScanList().
Definition at line 217 of file FormatString.h.
Referenced by consumesDataArgument(), and isPrintfKind().
Definition at line 220 of file FormatString.h.
Referenced by consumesDataArgument(), getKind(), isAnyIntArg(), clang::analyze_printf::PrintfConversionSpecifier::isDoubleArg(), isIntArg(), clang::analyze_printf::PrintfConversionSpecifier::isObjCArg(), isUIntArg(), setKind(), and toString().
const char* clang::analyze_format_string::ConversionSpecifier::Position [protected] |
Definition at line 218 of file FormatString.h.
Referenced by getLength(), and getStart().