clang API Documentation

Public Member Functions | Static Public Member Functions
clang::analyze_scanf::ScanfSpecifier Class Reference

#include <FormatString.h>

Inheritance diagram for clang::analyze_scanf::ScanfSpecifier:
Inheritance graph
[legend]
Collaboration diagram for clang::analyze_scanf::ScanfSpecifier:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ScanfSpecifier ()
void setSuppressAssignment (const char *position)
const OptionalFlag & getSuppressAssignment () const
void setConversionSpecifier (const ScanfConversionSpecifier &cs)
const ScanfConversionSpecifiergetConversionSpecifier () const
bool consumesDataArgument () const
ArgType getArgType (ASTContext &Ctx) const
bool fixType (QualType QT, QualType RawQT, const LangOptions &LangOpt, ASTContext &Ctx)
void toString (raw_ostream &os) const

Static Public Member Functions

static ScanfSpecifier Parse (const char *beg, const char *end)

Detailed Description

Definition at line 550 of file FormatString.h.


Constructor & Destructor Documentation

Definition at line 553 of file FormatString.h.


Member Function Documentation

bool ScanfSpecifier::fixType ( QualType  QT,
QualType  RawQT,
const LangOptions LangOpt,
ASTContext Ctx 
)
ArgType ScanfSpecifier::getArgType ( ASTContext Ctx) const

Definition at line 570 of file FormatString.h.

References clang::analyze_format_string::FormatSpecifier::CS.

const OptionalFlag& clang::analyze_scanf::ScanfSpecifier::getSuppressAssignment ( ) const [inline]

Definition at line 562 of file FormatString.h.

static ScanfSpecifier clang::analyze_scanf::ScanfSpecifier::Parse ( const char *  beg,
const char *  end 
) [static]

Definition at line 566 of file FormatString.h.

References clang::analyze_format_string::FormatSpecifier::CS.

void clang::analyze_scanf::ScanfSpecifier::setSuppressAssignment ( const char *  position) [inline]

Definition at line 557 of file FormatString.h.

void ScanfSpecifier::toString ( raw_ostream &  os) const

Definition at line 512 of file ScanfFormatString.cpp.


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