clang 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::analyze_scanf::ScanfConversionSpecifier Class Reference

#include "clang/AST/FormatString.h"

Inheritance diagram for clang::analyze_scanf::ScanfConversionSpecifier:
Inheritance graph
[legend]

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
 
bool isFixedPointArg () const
 
const char * toString () const
 
bool isPrintfKind () const
 
std::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 , bArg , BArg , IntArgBeg = dArg ,
  IntArgEnd = BArg , 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 , kArg ,
  KArg , rArg , RArg , FixedPointArgBeg = kArg ,
  FixedPointArgEnd = RArg , 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 651 of file FormatString.h.

Constructor & Destructor Documentation

◆ ScanfConversionSpecifier() [1/2]

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

Definition at line 654 of file FormatString.h.

◆ ScanfConversionSpecifier() [2/2]

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

Definition at line 657 of file FormatString.h.

Member Function Documentation

◆ classof()

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

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