clang  7.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
clang::analyze_scanf::ScanfConversionSpecifier Class Reference

#include "clang/Analysis/Analyses/FormatString.h"

Inheritance diagram for clang::analyze_scanf::ScanfConversionSpecifier:
Inheritance graph
Collaboration diagram for clang::analyze_scanf::ScanfConversionSpecifier:
Collaboration graph

Public Member Functions

 ScanfConversionSpecifier ()
 ScanfConversionSpecifier (const char *pos, Kind k)
- Public Member Functions inherited from clang::analyze_format_string::ConversionSpecifier
 ConversionSpecifier (bool isPrintf=true)
 ConversionSpecifier (bool isPrintf, const char *pos, Kind k)
const char * getStart () const
StringRef getCharacters () const
bool consumesDataArgument () const
Kind getKind () const
void setKind (Kind k)
unsigned getLength () const
void setEndScanList (const char *pos)
bool isIntArg () const
bool isUIntArg () const
bool isAnyIntArg () const
bool isDoubleArg () const
const char * toString () const
bool isPrintfKind () const
Optional< ConversionSpecifiergetStandardSpecifier () const

Static Public Member Functions

static bool classof (const analyze_format_string::ConversionSpecifier *CS)

Additional Inherited Members

- Public Types inherited from clang::analyze_format_string::ConversionSpecifier
enum  Kind {
  InvalidSpecifier = 0, cArg, dArg, DArg,
  iArg, IntArgBeg = dArg, IntArgEnd = iArg, oArg,
  OArg, uArg, UArg, xArg,
  XArg, UIntArgBeg = oArg, UIntArgEnd = XArg, fArg,
  FArg, eArg, EArg, gArg,
  GArg, aArg, AArg, DoubleArgBeg = fArg,
  DoubleArgEnd = AArg, sArg, pArg, nArg,
  PercentArg, CArg, SArg, PArg,
  ZArg, ObjCObjArg, ObjCBeg = ObjCObjArg, ObjCEnd = ObjCObjArg,
  FreeBSDbArg, FreeBSDDArg, FreeBSDrArg, FreeBSDyArg,
  PrintErrno, PrintfConvBeg = ObjCObjArg, PrintfConvEnd = PrintErrno, ScanListArg,
  ScanfConvBeg = ScanListArg, ScanfConvEnd = ScanListArg
- Protected Attributes inherited from clang::analyze_format_string::ConversionSpecifier
bool IsPrintf
const char * Position
const char * EndScanList
Kind kind

Detailed Description

Definition at line 559 of file FormatString.h.

Constructor & Destructor Documentation

◆ ScanfConversionSpecifier() [1/2]

clang::analyze_scanf::ScanfConversionSpecifier::ScanfConversionSpecifier ( )

Definition at line 562 of file FormatString.h.

◆ ScanfConversionSpecifier() [2/2]

clang::analyze_scanf::ScanfConversionSpecifier::ScanfConversionSpecifier ( const char *  pos,
Kind  k 

Definition at line 565 of file FormatString.h.

Member Function Documentation

◆ classof()

static bool clang::analyze_scanf::ScanfConversionSpecifier::classof ( const analyze_format_string::ConversionSpecifier CS)

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