clang
10.0.0git
|
Represents an ambiguous user-defined conversion sequence. More...
#include "clang/Sema/Overload.h"
Public Types | |
using | ConversionSet = SmallVector< std::pair< NamedDecl *, FunctionDecl * >, 4 > |
using | iterator = ConversionSet::iterator |
using | const_iterator = ConversionSet::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 415 of file Overload.h.
using clang::AmbiguousConversionSequence::const_iterator = ConversionSet::const_iterator |
Definition at line 451 of file Overload.h.
using clang::AmbiguousConversionSequence::ConversionSet = SmallVector<std::pair<NamedDecl *, FunctionDecl *>, 4> |
Definition at line 417 of file Overload.h.
using clang::AmbiguousConversionSequence::iterator = ConversionSet::iterator |
Definition at line 446 of file Overload.h.
|
inline |
Definition at line 442 of file Overload.h.
Referenced by FindConversionForRefInit(), and TryUserDefinedConversion().
|
inline |
Definition at line 448 of file Overload.h.
|
inline |
Definition at line 453 of file Overload.h.
void AmbiguousConversionSequence::construct | ( | ) |
Definition at line 565 of file SemaOverload.cpp.
|
inline |
Definition at line 434 of file Overload.h.
Referenced by copyFrom().
|
inline |
Definition at line 438 of file Overload.h.
void AmbiguousConversionSequence::copyFrom | ( | const AmbiguousConversionSequence & | O | ) |
Definition at line 574 of file SemaOverload.cpp.
References conversions(), FromTypePtr, and ToTypePtr.
void AmbiguousConversionSequence::destruct | ( | ) |
Definition at line 569 of file SemaOverload.cpp.
|
inline |
Definition at line 449 of file Overload.h.
|
inline |
Definition at line 454 of file Overload.h.
|
inline |
Definition at line 423 of file Overload.h.
References clang::QualType::getFromOpaquePtr().
|
inline |
Definition at line 427 of file Overload.h.
References clang::QualType::getFromOpaquePtr().
|
inline |
Definition at line 431 of file Overload.h.
References clang::QualType::getAsOpaquePtr().
Referenced by TryUserDefinedConversion().
|
inline |
Definition at line 432 of file Overload.h.
References clang::QualType::getAsOpaquePtr().
Referenced by TryUserDefinedConversion().
char clang::AmbiguousConversionSequence::Buffer[sizeof(ConversionSet)] |
Definition at line 421 of file Overload.h.
void* clang::AmbiguousConversionSequence::FromTypePtr |
Definition at line 419 of file Overload.h.
Referenced by copyFrom().
void* clang::AmbiguousConversionSequence::ToTypePtr |
Definition at line 420 of file Overload.h.
Referenced by copyFrom().