clang API Documentation
Represents an ambiguous user-defined conversion sequence. More...
#include <Overload.h>
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) |
ConversionSet & | conversions () |
const ConversionSet & | conversions () 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)] |
Represents an ambiguous user-defined conversion sequence.
Definition at line 281 of file Overload.h.
typedef ConversionSet::const_iterator clang::AmbiguousConversionSequence::const_iterator |
Definition at line 313 of file Overload.h.
typedef SmallVector<FunctionDecl*, 4> clang::AmbiguousConversionSequence::ConversionSet |
Definition at line 282 of file Overload.h.
typedef ConversionSet::iterator clang::AmbiguousConversionSequence::iterator |
Definition at line 309 of file Overload.h.
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().
Definition at line 506 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 | ) |
Definition at line 515 of file SemaOverload.cpp.
References conversions(), FromTypePtr, and ToTypePtr.
Referenced by clang::ImplicitConversionSequence::ImplicitConversionSequence().
Definition at line 510 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] |
Definition at line 288 of file Overload.h.
References FromTypePtr, and clang::QualType::getFromOpaquePtr().
Referenced by clang::ImplicitConversionSequence::DiagnoseAmbiguousConversion().
QualType clang::AmbiguousConversionSequence::getToType | ( | ) | const [inline] |
Definition at line 291 of file Overload.h.
References clang::QualType::getFromOpaquePtr(), and ToTypePtr.
Referenced by clang::ImplicitConversionSequence::DiagnoseAmbiguousConversion().
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().
char clang::AmbiguousConversionSequence::Buffer[sizeof(ConversionSet)] |
Definition at line 286 of file Overload.h.
Referenced by conversions().
Definition at line 284 of file Overload.h.
Referenced by copyFrom(), getFromType(), and setFromType().
Definition at line 285 of file Overload.h.
Referenced by copyFrom(), getToType(), and setToType().