clang 20.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 467 of file Overload.h.
using clang::AmbiguousConversionSequence::const_iterator = ConversionSet::const_iterator |
Definition at line 503 of file Overload.h.
using clang::AmbiguousConversionSequence::ConversionSet = SmallVector<std::pair<NamedDecl *, FunctionDecl *>, 4> |
Definition at line 468 of file Overload.h.
using clang::AmbiguousConversionSequence::iterator = ConversionSet::iterator |
Definition at line 498 of file Overload.h.
|
inline |
Definition at line 494 of file Overload.h.
References conversions(), D, and clang::Found.
Referenced by FindConversionForRefInit(), and TryUserDefinedConversion().
|
inline |
Definition at line 500 of file Overload.h.
References conversions().
|
inline |
Definition at line 505 of file Overload.h.
References conversions().
void AmbiguousConversionSequence::construct | ( | ) |
Definition at line 697 of file SemaOverload.cpp.
References conversions().
Referenced by clang::ImplicitConversionSequence::setAmbiguous().
|
inline |
Definition at line 486 of file Overload.h.
References Buffer.
Referenced by addConversion(), begin(), construct(), copyFrom(), destruct(), and end().
|
inline |
Definition at line 490 of file Overload.h.
References Buffer.
void AmbiguousConversionSequence::copyFrom | ( | const AmbiguousConversionSequence & | O | ) |
Definition at line 706 of file SemaOverload.cpp.
References conversions(), FromTypePtr, and ToTypePtr.
Referenced by clang::ImplicitConversionSequence::ImplicitConversionSequence().
void AmbiguousConversionSequence::destruct | ( | ) |
Definition at line 701 of file SemaOverload.cpp.
References conversions().
|
inline |
Definition at line 501 of file Overload.h.
References conversions().
|
inline |
Definition at line 506 of file Overload.h.
References conversions().
|
inline |
Definition at line 475 of file Overload.h.
References FromTypePtr, and clang::QualType::getFromOpaquePtr().
|
inline |
Definition at line 479 of file Overload.h.
References clang::QualType::getFromOpaquePtr(), and ToTypePtr.
|
inline |
Definition at line 483 of file Overload.h.
References FromTypePtr, and clang::T.
Referenced by TryUserDefinedConversion().
|
inline |
Definition at line 484 of file Overload.h.
References clang::T, and ToTypePtr.
Referenced by TryUserDefinedConversion().
char clang::AmbiguousConversionSequence::Buffer[sizeof(ConversionSet)] |
Definition at line 473 of file Overload.h.
Referenced by conversions().
void* clang::AmbiguousConversionSequence::FromTypePtr |
Definition at line 471 of file Overload.h.
Referenced by copyFrom(), getFromType(), and setFromType().
void* clang::AmbiguousConversionSequence::ToTypePtr |
Definition at line 472 of file Overload.h.
Referenced by copyFrom(), getToType(), and setToType().