clang  6.0.0svn
Public Member Functions | List of all members
clang::analyze_format_string::OptionalFlag Class Reference

Class representing optional flags with location and representation information. More...

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

Public Member Functions

 OptionalFlag (const char *Representation)
 
bool isSet () const
 
void set ()
 
void clear ()
 
void setPosition (const char *position)
 
const char * getPosition () const
 
const char * toString () const
 
 operator bool () const
 
OptionalFlagoperator= (const bool &rhs)
 

Detailed Description

Class representing optional flags with location and representation information.

Definition at line 34 of file FormatString.h.

Constructor & Destructor Documentation

◆ OptionalFlag()

clang::analyze_format_string::OptionalFlag::OptionalFlag ( const char *  Representation)
inline

Definition at line 36 of file FormatString.h.

Member Function Documentation

◆ clear()

void clang::analyze_format_string::OptionalFlag::clear ( )
inline

Definition at line 40 of file FormatString.h.

◆ getPosition()

const char* clang::analyze_format_string::OptionalFlag::getPosition ( ) const
inline

Definition at line 46 of file FormatString.h.

◆ isSet()

bool clang::analyze_format_string::OptionalFlag::isSet ( ) const
inline

Definition at line 38 of file FormatString.h.

◆ operator bool()

clang::analyze_format_string::OptionalFlag::operator bool ( ) const
inlineexplicit

Definition at line 53 of file FormatString.h.

◆ operator=()

OptionalFlag& clang::analyze_format_string::OptionalFlag::operator= ( const bool rhs)
inline

Definition at line 54 of file FormatString.h.

◆ set()

void clang::analyze_format_string::OptionalFlag::set ( )
inline

Definition at line 39 of file FormatString.h.

◆ setPosition()

void clang::analyze_format_string::OptionalFlag::setPosition ( const char *  position)
inline

◆ toString()

const char* clang::analyze_format_string::OptionalFlag::toString ( ) const
inline

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