clang API Documentation

Public Member Functions
clang::analyze_format_string::FormatStringHandler Class Reference

#include <FormatString.h>

List of all members.

Public Member Functions

 FormatStringHandler ()
virtual ~FormatStringHandler ()
virtual void HandleNullChar (const char *nullCharacter)
virtual void HandlePosition (const char *startPos, unsigned posLen)
virtual void HandleInvalidPosition (const char *startPos, unsigned posLen, PositionContext p)
virtual void HandleZeroPosition (const char *startPos, unsigned posLen)
virtual void HandleIncompleteSpecifier (const char *startSpecifier, unsigned specifierLen)
virtual bool HandleInvalidPrintfConversionSpecifier (const analyze_printf::PrintfSpecifier &FS, const char *startSpecifier, unsigned specifierLen)
virtual bool HandlePrintfSpecifier (const analyze_printf::PrintfSpecifier &FS, const char *startSpecifier, unsigned specifierLen)
virtual bool HandleInvalidScanfConversionSpecifier (const analyze_scanf::ScanfSpecifier &FS, const char *startSpecifier, unsigned specifierLen)
virtual bool HandleScanfSpecifier (const analyze_scanf::ScanfSpecifier &FS, const char *startSpecifier, unsigned specifierLen)
virtual void HandleIncompleteScanList (const char *start, const char *end)

Detailed Description

Definition at line 597 of file FormatString.h.


Constructor & Destructor Documentation

Definition at line 599 of file FormatString.h.

Definition at line 29 of file FormatString.cpp.


Member Function Documentation

virtual void clang::analyze_format_string::FormatStringHandler::HandleIncompleteScanList ( const char *  start,
const char *  end 
) [inline, virtual]

Definition at line 644 of file FormatString.h.

Referenced by ParseScanList().

virtual void clang::analyze_format_string::FormatStringHandler::HandleIncompleteSpecifier ( const char *  startSpecifier,
unsigned  specifierLen 
) [inline, virtual]
virtual void clang::analyze_format_string::FormatStringHandler::HandleInvalidPosition ( const char *  startPos,
unsigned  posLen,
PositionContext  p 
) [inline, virtual]

Definition at line 606 of file FormatString.h.

Referenced by clang::analyze_format_string::ParsePositionAmount().

virtual bool clang::analyze_format_string::FormatStringHandler::HandleInvalidPrintfConversionSpecifier ( const analyze_printf::PrintfSpecifier FS,
const char *  startSpecifier,
unsigned  specifierLen 
) [inline, virtual]

Definition at line 616 of file FormatString.h.

Referenced by ParsePrintfSpecifier().

virtual bool clang::analyze_format_string::FormatStringHandler::HandleInvalidScanfConversionSpecifier ( const analyze_scanf::ScanfSpecifier FS,
const char *  startSpecifier,
unsigned  specifierLen 
) [inline, virtual]

Definition at line 631 of file FormatString.h.

Referenced by ParseScanfSpecifier().

virtual void clang::analyze_format_string::FormatStringHandler::HandleNullChar ( const char *  nullCharacter) [inline, virtual]

Definition at line 602 of file FormatString.h.

Referenced by ParsePrintfSpecifier(), and ParseScanfSpecifier().

virtual void clang::analyze_format_string::FormatStringHandler::HandlePosition ( const char *  startPos,
unsigned  posLen 
) [inline, virtual]

Definition at line 604 of file FormatString.h.

Referenced by clang::analyze_format_string::ParseArgPosition().

virtual bool clang::analyze_format_string::FormatStringHandler::HandlePrintfSpecifier ( const analyze_printf::PrintfSpecifier FS,
const char *  startSpecifier,
unsigned  specifierLen 
) [inline, virtual]

Definition at line 623 of file FormatString.h.

Referenced by clang::analyze_format_string::ParsePrintfString().

virtual bool clang::analyze_format_string::FormatStringHandler::HandleScanfSpecifier ( const analyze_scanf::ScanfSpecifier FS,
const char *  startSpecifier,
unsigned  specifierLen 
) [inline, virtual]

Definition at line 638 of file FormatString.h.

Referenced by clang::analyze_format_string::ParseScanfString().

virtual void clang::analyze_format_string::FormatStringHandler::HandleZeroPosition ( const char *  startPos,
unsigned  posLen 
) [inline, virtual]

The documentation for this class was generated from the following files: