clang  15.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::analyze_printf::PrintfConversionSpecifier Class Reference

#include "clang/AST/FormatString.h"

Inheritance diagram for clang::analyze_printf::PrintfConversionSpecifier:
Inheritance graph
Collaboration diagram for clang::analyze_printf::PrintfConversionSpecifier:
Collaboration graph

Public Member Functions

 PrintfConversionSpecifier ()
 PrintfConversionSpecifier (const char *pos, Kind k)
bool isObjCArg () const
bool isDoubleArg () const
- 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 477 of file FormatString.h.

Constructor & Destructor Documentation

◆ PrintfConversionSpecifier() [1/2]

clang::analyze_printf::PrintfConversionSpecifier::PrintfConversionSpecifier ( )

Definition at line 480 of file FormatString.h.

◆ PrintfConversionSpecifier() [2/2]

clang::analyze_printf::PrintfConversionSpecifier::PrintfConversionSpecifier ( const char *  pos,
Kind  k 

Definition at line 483 of file FormatString.h.

Member Function Documentation

◆ classof()

static bool clang::analyze_printf::PrintfConversionSpecifier::classof ( const analyze_format_string::ConversionSpecifier CS)

◆ isDoubleArg()

bool clang::analyze_printf::PrintfConversionSpecifier::isDoubleArg ( ) const

◆ isObjCArg()

bool clang::analyze_printf::PrintfConversionSpecifier::isObjCArg ( ) const

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