clang
9.0.0
|
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 388 of file Overload.h.
using clang::AmbiguousConversionSequence::const_iterator = ConversionSet::const_iterator |
Definition at line 424 of file Overload.h.
using clang::AmbiguousConversionSequence::ConversionSet = SmallVector<std::pair<NamedDecl *, FunctionDecl *>, 4> |
Definition at line 390 of file Overload.h.
using clang::AmbiguousConversionSequence::iterator = ConversionSet::iterator |
Definition at line 419 of file Overload.h.
|
inline |
Definition at line 415 of file Overload.h.
Referenced by FindConversionForRefInit(), and TryUserDefinedConversion().
|
inline |
Definition at line 421 of file Overload.h.
|
inline |
Definition at line 426 of file Overload.h.
void AmbiguousConversionSequence::construct | ( | ) |
Definition at line 551 of file SemaOverload.cpp.
|
inline |
Definition at line 407 of file Overload.h.
Referenced by copyFrom().
|
inline |
Definition at line 411 of file Overload.h.
void AmbiguousConversionSequence::copyFrom | ( | const AmbiguousConversionSequence & | O | ) |
Definition at line 560 of file SemaOverload.cpp.
References conversions(), FromTypePtr, and ToTypePtr.
void AmbiguousConversionSequence::destruct | ( | ) |
Definition at line 555 of file SemaOverload.cpp.
|
inline |
Definition at line 422 of file Overload.h.
|
inline |
Definition at line 427 of file Overload.h.
|
inline |
Definition at line 396 of file Overload.h.
References clang::QualType::getFromOpaquePtr().
|
inline |
Definition at line 400 of file Overload.h.
References clang::QualType::getFromOpaquePtr().
|
inline |
Definition at line 404 of file Overload.h.
References clang::QualType::getAsOpaquePtr().
Referenced by TryUserDefinedConversion().
|
inline |
Definition at line 405 of file Overload.h.
References clang::QualType::getAsOpaquePtr().
Referenced by TryUserDefinedConversion().
char clang::AmbiguousConversionSequence::Buffer[sizeof(ConversionSet)] |
Definition at line 394 of file Overload.h.
void* clang::AmbiguousConversionSequence::FromTypePtr |
Definition at line 392 of file Overload.h.
Referenced by copyFrom().
void* clang::AmbiguousConversionSequence::ToTypePtr |
Definition at line 393 of file Overload.h.
Referenced by copyFrom().