clang API Documentation

Public Types | Public Member Functions | Public Attributes
clang::AmbiguousConversionSequence Struct Reference

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

#include <Overload.h>

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

List of all members.

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 293 of file Overload.h.


Member Typedef Documentation

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

Definition at line 325 of file Overload.h.

Definition at line 294 of file Overload.h.

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

Definition at line 321 of file Overload.h.


Member Function Documentation

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

Definition at line 317 of file Overload.h.

References conversions().

Referenced by clang::FindConversionForRefInit(), and clang::TryUserDefinedConversion().

iterator clang::AmbiguousConversionSequence::begin ( ) [inline]

Definition at line 322 of file Overload.h.

References conversions().

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

Definition at line 326 of file Overload.h.

References conversions().

void clang::AmbiguousConversionSequence::construct ( )

Definition at line 512 of file SemaOverload.cpp.

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

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

Definition at line 309 of file Overload.h.

References Buffer.

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

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

Definition at line 313 of file Overload.h.

References Buffer.

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

Definition at line 516 of file SemaOverload.cpp.

iterator clang::AmbiguousConversionSequence::end ( ) [inline]

Definition at line 323 of file Overload.h.

References conversions().

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

Definition at line 327 of file Overload.h.

References conversions().

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

Definition at line 300 of file Overload.h.

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

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

Definition at line 303 of file Overload.h.

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

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

Definition at line 306 of file Overload.h.

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

Referenced by clang::TryUserDefinedConversion().

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

Definition at line 307 of file Overload.h.

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

Referenced by clang::TryUserDefinedConversion().


Member Data Documentation

Definition at line 298 of file Overload.h.

Referenced by conversions().

Definition at line 296 of file Overload.h.

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

Definition at line 297 of file Overload.h.

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


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