clang 18.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 420 of file Overload.h.
using clang::AmbiguousConversionSequence::const_iterator = ConversionSet::const_iterator |
Definition at line 456 of file Overload.h.
using clang::AmbiguousConversionSequence::ConversionSet = SmallVector<std::pair<NamedDecl *, FunctionDecl *>, 4> |
Definition at line 421 of file Overload.h.
using clang::AmbiguousConversionSequence::iterator = ConversionSet::iterator |
Definition at line 451 of file Overload.h.
|
inline |
Definition at line 447 of file Overload.h.
References conversions().
Referenced by FindConversionForRefInit(), and TryUserDefinedConversion().
|
inline |
Definition at line 453 of file Overload.h.
References conversions().
|
inline |
Definition at line 458 of file Overload.h.
References conversions().
void AmbiguousConversionSequence::construct | ( | ) |
Definition at line 586 of file SemaOverload.cpp.
References conversions().
Referenced by clang::ImplicitConversionSequence::setAmbiguous().
|
inline |
Definition at line 439 of file Overload.h.
References Buffer.
Referenced by addConversion(), begin(), construct(), copyFrom(), destruct(), and end().
|
inline |
Definition at line 443 of file Overload.h.
References Buffer.
void AmbiguousConversionSequence::copyFrom | ( | const AmbiguousConversionSequence & | O | ) |
Definition at line 595 of file SemaOverload.cpp.
References conversions(), FromTypePtr, and ToTypePtr.
Referenced by clang::ImplicitConversionSequence::ImplicitConversionSequence().
void AmbiguousConversionSequence::destruct | ( | ) |
Definition at line 590 of file SemaOverload.cpp.
References conversions().
|
inline |
Definition at line 454 of file Overload.h.
References conversions().
|
inline |
Definition at line 459 of file Overload.h.
References conversions().
|
inline |
Definition at line 428 of file Overload.h.
References FromTypePtr, and clang::QualType::getFromOpaquePtr().
|
inline |
Definition at line 432 of file Overload.h.
References clang::QualType::getFromOpaquePtr(), and ToTypePtr.
|
inline |
Definition at line 436 of file Overload.h.
References FromTypePtr, and clang::QualType::getAsOpaquePtr().
Referenced by TryUserDefinedConversion().
|
inline |
Definition at line 437 of file Overload.h.
References clang::QualType::getAsOpaquePtr(), and ToTypePtr.
Referenced by TryUserDefinedConversion().
char clang::AmbiguousConversionSequence::Buffer[sizeof(ConversionSet)] |
Definition at line 426 of file Overload.h.
Referenced by conversions().
void* clang::AmbiguousConversionSequence::FromTypePtr |
Definition at line 424 of file Overload.h.
Referenced by copyFrom(), getFromType(), and setFromType().
void* clang::AmbiguousConversionSequence::ToTypePtr |
Definition at line 425 of file Overload.h.
Referenced by copyFrom(), getToType(), and setToType().