clang  6.0.0svn
Public Types | Public Member Functions | Public Attributes | List of all members
clang::AmbiguousConversionSequence Struct Reference

Represents an ambiguous user-defined conversion sequence. More...

#include "clang/Sema/Overload.h"

Collaboration diagram for clang::AmbiguousConversionSequence:
Collaboration graph
[legend]

Public Types

typedef SmallVector< std::pair< NamedDecl *, FunctionDecl * >, 4 > ConversionSet
 
typedef ConversionSet::iterator iterator
 
typedef ConversionSet::const_iterator const_iterator
 

Public Member Functions

QualType getFromType () const
 
QualType getToType () const
 
void setFromType (QualType T)
 
void setToType (QualType T)
 
ConversionSetconversions ()
 
const ConversionSetconversions () const
 
void addConversion (NamedDecl *Found, FunctionDecl *D)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
void construct ()
 
void destruct ()
 
void copyFrom (const AmbiguousConversionSequence &)
 

Public Attributes

void * FromTypePtr
 
void * ToTypePtr
 
char Buffer [sizeof(ConversionSet)]
 

Detailed Description

Represents an ambiguous user-defined conversion sequence.

Definition at line 296 of file Overload.h.

Member Typedef Documentation

◆ const_iterator

typedef ConversionSet::const_iterator clang::AmbiguousConversionSequence::const_iterator

Definition at line 328 of file Overload.h.

◆ ConversionSet

Definition at line 297 of file Overload.h.

◆ iterator

typedef ConversionSet::iterator clang::AmbiguousConversionSequence::iterator

Definition at line 324 of file Overload.h.

Member Function Documentation

◆ addConversion()

void clang::AmbiguousConversionSequence::addConversion ( NamedDecl Found,
FunctionDecl D 
)
inline

Definition at line 320 of file Overload.h.

Referenced by TryUserDefinedConversion().

◆ begin() [1/2]

iterator clang::AmbiguousConversionSequence::begin ( )
inline

Definition at line 325 of file Overload.h.

◆ begin() [2/2]

const_iterator clang::AmbiguousConversionSequence::begin ( ) const
inline

Definition at line 329 of file Overload.h.

◆ construct()

void AmbiguousConversionSequence::construct ( )

Definition at line 548 of file SemaOverload.cpp.

◆ conversions() [1/2]

ConversionSet& clang::AmbiguousConversionSequence::conversions ( )
inline

Definition at line 312 of file Overload.h.

Referenced by copyFrom().

◆ conversions() [2/2]

const ConversionSet& clang::AmbiguousConversionSequence::conversions ( ) const
inline

Definition at line 316 of file Overload.h.

◆ copyFrom()

void AmbiguousConversionSequence::copyFrom ( const AmbiguousConversionSequence O)

Definition at line 557 of file SemaOverload.cpp.

References conversions(), FromTypePtr, and ToTypePtr.

◆ destruct()

void AmbiguousConversionSequence::destruct ( )

Definition at line 552 of file SemaOverload.cpp.

◆ end() [1/2]

iterator clang::AmbiguousConversionSequence::end ( )
inline

Definition at line 326 of file Overload.h.

◆ end() [2/2]

const_iterator clang::AmbiguousConversionSequence::end ( ) const
inline

Definition at line 330 of file Overload.h.

◆ getFromType()

QualType clang::AmbiguousConversionSequence::getFromType ( ) const
inline

Definition at line 303 of file Overload.h.

References clang::QualType::getFromOpaquePtr().

◆ getToType()

QualType clang::AmbiguousConversionSequence::getToType ( ) const
inline

Definition at line 306 of file Overload.h.

References clang::QualType::getFromOpaquePtr().

◆ setFromType()

void clang::AmbiguousConversionSequence::setFromType ( QualType  T)
inline

Definition at line 309 of file Overload.h.

References clang::QualType::getAsOpaquePtr().

Referenced by TryUserDefinedConversion().

◆ setToType()

void clang::AmbiguousConversionSequence::setToType ( QualType  T)
inline

Definition at line 310 of file Overload.h.

References clang::QualType::getAsOpaquePtr().

Referenced by TryUserDefinedConversion().

Member Data Documentation

◆ Buffer

char clang::AmbiguousConversionSequence::Buffer[sizeof(ConversionSet)]

Definition at line 301 of file Overload.h.

◆ FromTypePtr

void* clang::AmbiguousConversionSequence::FromTypePtr

Definition at line 299 of file Overload.h.

Referenced by copyFrom().

◆ ToTypePtr

void* clang::AmbiguousConversionSequence::ToTypePtr

Definition at line 300 of file Overload.h.

Referenced by copyFrom().


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