Common components of both fprintf and fscanf format strings. More...
bool ParsePrintfString (FormatStringHandler &H, const char *beg, const char *end, const LangOptions &LO, const TargetInfo &Target, bool isFreeBSDKPrintf) bool ParseFormatStringHasSArg (const char *beg, const char *end, const LangOptions &LO, const TargetInfo &Target) bool ParseScanfString (FormatStringHandler &H, const char *beg, const char *end, const LangOptions &LO, const TargetInfo &Target) bool parseFormatStringHasFormattingSpecifiers (const char *Begin, const char *End, const LangOptions &LO, const TargetInfo &Target) Return true if the given string has at least one formatting specifier.SpecifierBegin
is a UTF-8 string; check that it won't go further than FmtStrEnd
and write up the total size in Len
.
Common components of both fprintf and fscanf format strings.
◆ PositionContext ◆ ParseAmount() OptionalAmount clang::analyze_format_string::ParseAmount ( const char *& Beg, const char * E ) ◆ ParseArgPosition() ◆ ParseFieldWidth() ◆ parseFormatStringHasFormattingSpecifiers() bool clang::analyze_format_string::parseFormatStringHasFormattingSpecifiers ( const char * Begin, const char * End, const LangOptions & LO, const TargetInfo & Target ) ◆ ParseFormatStringHasSArg() bool clang::analyze_format_string::ParseFormatStringHasSArg ( const char * beg, const char * end, const LangOptions & LO, const TargetInfo & Target ) ◆ ParseLengthModifier()Returns true if a LengthModifier was parsed and installed in the FormatSpecifier& argument, and false otherwise.
Definition at line 211 of file FormatString.cpp.
References clang::analyze_format_string::LengthModifier::AsAllocate, clang::analyze_format_string::LengthModifier::AsChar, clang::analyze_format_string::LengthModifier::AsInt32, clang::analyze_format_string::LengthModifier::AsInt3264, clang::analyze_format_string::LengthModifier::AsInt64, clang::analyze_format_string::LengthModifier::AsIntMax, clang::analyze_format_string::LengthModifier::AsLong, clang::analyze_format_string::LengthModifier::AsLongDouble, clang::analyze_format_string::LengthModifier::AsLongLong, clang::analyze_format_string::LengthModifier::AsMAllocate, clang::analyze_format_string::LengthModifier::AsPtrDiff, clang::analyze_format_string::LengthModifier::AsQuad, clang::analyze_format_string::LengthModifier::AsShort, clang::analyze_format_string::LengthModifier::AsShortLong, clang::analyze_format_string::LengthModifier::AsSizeT, clang::analyze_format_string::LengthModifier::AsWide, E, and clang::analyze_format_string::LengthModifier::None.
◆ ParseNonPositionAmount() OptionalAmount clang::analyze_format_string::ParseNonPositionAmount ( const char *& Beg, const char * E, unsigned & argIndex ) ◆ ParsePositionAmount() ◆ ParsePrintfString() ◆ ParseScanfString() ◆ ParseUTF8InvalidSpecifier() 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
.
Definition at line 296 of file FormatString.cpp.
◆ ParseVectorModifier()RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4