clang
3.9.0
|
Represents an ambiguous user-defined conversion sequence. More...
#include <Overload.h>
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) |
ConversionSet & | conversions () |
const ConversionSet & | conversions () 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)] |
Represents an ambiguous user-defined conversion sequence.
Definition at line 285 of file Overload.h.
typedef ConversionSet::const_iterator clang::AmbiguousConversionSequence::const_iterator |
Definition at line 317 of file Overload.h.
typedef SmallVector<std::pair<NamedDecl*, FunctionDecl*>, 4> clang::AmbiguousConversionSequence::ConversionSet |
Definition at line 286 of file Overload.h.
typedef ConversionSet::iterator clang::AmbiguousConversionSequence::iterator |
Definition at line 313 of file Overload.h.
|
inline |
Definition at line 309 of file Overload.h.
References conversions().
Referenced by FindConversionForRefInit(), and TryUserDefinedConversion().
|
inline |
Definition at line 314 of file Overload.h.
References conversions().
Referenced by clang::ImplicitConversionSequence::DiagnoseAmbiguousConversion().
|
inline |
Definition at line 318 of file Overload.h.
References conversions().
void AmbiguousConversionSequence::construct | ( | ) |
Definition at line 527 of file SemaOverload.cpp.
Referenced by clang::ImplicitConversionSequence::setAmbiguous().
|
inline |
Definition at line 301 of file Overload.h.
References Buffer.
Referenced by addConversion(), begin(), copyFrom(), and end().
|
inline |
Definition at line 305 of file Overload.h.
References Buffer.
void AmbiguousConversionSequence::copyFrom | ( | const AmbiguousConversionSequence & | O | ) |
Definition at line 536 of file SemaOverload.cpp.
References conversions(), FromTypePtr, and ToTypePtr.
Referenced by clang::ImplicitConversionSequence::ImplicitConversionSequence().
void AmbiguousConversionSequence::destruct | ( | ) |
Definition at line 531 of file SemaOverload.cpp.
|
inline |
Definition at line 315 of file Overload.h.
References conversions().
Referenced by clang::ImplicitConversionSequence::DiagnoseAmbiguousConversion().
|
inline |
Definition at line 319 of file Overload.h.
References conversions().
|
inline |
Definition at line 292 of file Overload.h.
References FromTypePtr, and clang::QualType::getFromOpaquePtr().
Referenced by clang::ImplicitConversionSequence::DiagnoseAmbiguousConversion().
|
inline |
Definition at line 295 of file Overload.h.
References clang::QualType::getFromOpaquePtr(), and ToTypePtr.
Referenced by clang::ImplicitConversionSequence::DiagnoseAmbiguousConversion().
|
inline |
Definition at line 298 of file Overload.h.
References FromTypePtr, and clang::QualType::getAsOpaquePtr().
Referenced by TryUserDefinedConversion().
|
inline |
Definition at line 299 of file Overload.h.
References clang::QualType::getAsOpaquePtr(), and ToTypePtr.
Referenced by TryUserDefinedConversion().
char clang::AmbiguousConversionSequence::Buffer[sizeof(ConversionSet)] |
Definition at line 290 of file Overload.h.
Referenced by conversions().
void* clang::AmbiguousConversionSequence::FromTypePtr |
Definition at line 288 of file Overload.h.
Referenced by copyFrom(), getFromType(), and setFromType().
void* clang::AmbiguousConversionSequence::ToTypePtr |
Definition at line 289 of file Overload.h.
Referenced by copyFrom(), getToType(), and setToType().