clang 20.0.0git
|
BadConversionSequence - Records information about an invalid conversion sequence. More...
#include "clang/Sema/Overload.h"
Public Types | |
enum | FailureKind { no_conversion , unrelated_class , bad_qualifiers , lvalue_ref_to_rvalue , rvalue_ref_to_lvalue , too_few_initializers , too_many_initializers } |
Public Member Functions | |
void | init (FailureKind K, Expr *From, QualType To) |
void | init (FailureKind K, QualType From, QualType To) |
QualType | getFromType () const |
QualType | getToType () const |
void | setFromExpr (Expr *E) |
void | setFromType (QualType T) |
void | setToType (QualType T) |
Public Attributes | |
Expr * | FromExpr |
FailureKind | Kind |
BadConversionSequence - Records information about an invalid conversion sequence.
Definition at line 515 of file Overload.h.
Enumerator | |
---|---|
no_conversion | |
unrelated_class | |
bad_qualifiers | |
lvalue_ref_to_rvalue | |
rvalue_ref_to_lvalue | |
too_few_initializers | |
too_many_initializers |
Definition at line 516 of file Overload.h.
|
inline |
Definition at line 551 of file Overload.h.
References clang::QualType::getFromOpaquePtr().
Referenced by DiagnoseBadConversion().
|
inline |
Definition at line 552 of file Overload.h.
References clang::QualType::getFromOpaquePtr().
Referenced by DiagnoseBadConversion().
|
inline |
Definition at line 539 of file Overload.h.
References FromExpr, clang::Expr::getType(), and init().
Referenced by init(), and clang::ImplicitConversionSequence::setBad().
|
inline |
Definition at line 544 of file Overload.h.
References FromExpr, Kind, setFromType(), and setToType().
|
inline |
Definition at line 554 of file Overload.h.
References E, FromExpr, and setFromType().
|
inline |
Definition at line 559 of file Overload.h.
References clang::T.
Referenced by init(), and setFromExpr().
|
inline |
Expr* clang::BadConversionSequence::FromExpr |
Definition at line 527 of file Overload.h.
Referenced by DiagnoseBadConversion(), init(), setFromExpr(), and TryObjectArgumentInitialization().
FailureKind clang::BadConversionSequence::Kind |
Definition at line 529 of file Overload.h.
Referenced by DiagnoseBadConversion(), init(), and clang::Sema::PerformImplicitObjectArgumentInitialization().