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

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

#include <Overload.h>

Collaboration diagram for clang::AmbiguousConversionSequence:
[legend]

Public Types

typedef SmallVector
< 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 (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 281 of file Overload.h.

Member Typedef Documentation

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

Definition at line 313 of file Overload.h.

Definition at line 282 of file Overload.h.

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

Definition at line 309 of file Overload.h.

Member Function Documentation

void clang::AmbiguousConversionSequence::addConversion ( FunctionDecl D)
inline

Definition at line 305 of file Overload.h.

References conversions().

Referenced by FindConversionForRefInit(), and TryUserDefinedConversion().

iterator clang::AmbiguousConversionSequence::begin ( )
inline

Definition at line 310 of file Overload.h.

References conversions().

Referenced by clang::ImplicitConversionSequence::DiagnoseAmbiguousConversion().

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

Definition at line 314 of file Overload.h.

References conversions().

void AmbiguousConversionSequence::construct ( )

Definition at line 512 of file SemaOverload.cpp.

Referenced by clang::ImplicitConversionSequence::setAmbiguous().

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

Definition at line 297 of file Overload.h.

References Buffer.

Referenced by addConversion(), begin(), copyFrom(), and end().

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

Definition at line 301 of file Overload.h.

References Buffer.

void AmbiguousConversionSequence::copyFrom ( const AmbiguousConversionSequence O)
void AmbiguousConversionSequence::destruct ( )

Definition at line 516 of file SemaOverload.cpp.

iterator clang::AmbiguousConversionSequence::end ( )
inline

Definition at line 311 of file Overload.h.

References conversions().

Referenced by clang::ImplicitConversionSequence::DiagnoseAmbiguousConversion().

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

Definition at line 315 of file Overload.h.

References conversions().

QualType clang::AmbiguousConversionSequence::getFromType ( ) const
inline
QualType clang::AmbiguousConversionSequence::getToType ( ) const
inline
void clang::AmbiguousConversionSequence::setFromType ( QualType  T)
inline

Definition at line 294 of file Overload.h.

References FromTypePtr, and clang::QualType::getAsOpaquePtr().

Referenced by TryUserDefinedConversion().

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

Definition at line 295 of file Overload.h.

References clang::QualType::getAsOpaquePtr(), and ToTypePtr.

Referenced by TryUserDefinedConversion().

Member Data Documentation

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

Definition at line 286 of file Overload.h.

Referenced by conversions().

void* clang::AmbiguousConversionSequence::FromTypePtr

Definition at line 284 of file Overload.h.

Referenced by copyFrom(), getFromType(), and setFromType().

void* clang::AmbiguousConversionSequence::ToTypePtr

Definition at line 285 of file Overload.h.

Referenced by copyFrom(), getToType(), and setToType().


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