clang API Documentation
#include <Overload.h>

Public Types | |
| enum | FailureKind { no_conversion, unrelated_class, bad_qualifiers, lvalue_ref_to_rvalue, rvalue_ref_to_lvalue } |
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 324 of file Overload.h.
Definition at line 325 of file Overload.h.
| QualType clang::BadConversionSequence::getFromType | ( | ) | const [inline] |
Definition at line 357 of file Overload.h.
References clang::QualType::getFromOpaquePtr().
Referenced by DiagnoseBadConversion(), and clang::OverloadCandidate::TryToFixBadConversion().
| QualType clang::BadConversionSequence::getToType | ( | ) | const [inline] |
Definition at line 358 of file Overload.h.
References clang::QualType::getFromOpaquePtr().
Referenced by DiagnoseBadConversion(), and clang::OverloadCandidate::TryToFixBadConversion().
| void clang::BadConversionSequence::init | ( | FailureKind | K, |
| Expr * | From, | ||
| QualType | To | ||
| ) | [inline] |
Definition at line 346 of file Overload.h.
References FromExpr, and clang::Expr::getType().
Referenced by clang::ImplicitConversionSequence::setBad().
| void clang::BadConversionSequence::init | ( | FailureKind | K, |
| QualType | From, | ||
| QualType | To | ||
| ) | [inline] |
Definition at line 350 of file Overload.h.
References FromExpr, setFromType(), and setToType().
| void clang::BadConversionSequence::setFromExpr | ( | Expr * | E | ) | [inline] |
Definition at line 360 of file Overload.h.
References FromExpr, clang::Expr::getType(), and setFromType().
| void clang::BadConversionSequence::setFromType | ( | QualType | T | ) | [inline] |
Definition at line 364 of file Overload.h.
References clang::QualType::getAsOpaquePtr().
Referenced by init(), and setFromExpr().
| void clang::BadConversionSequence::setToType | ( | QualType | T | ) | [inline] |
Definition at line 365 of file Overload.h.
References clang::QualType::getAsOpaquePtr().
Referenced by init().
Definition at line 334 of file Overload.h.
Referenced by DiagnoseBadConversion(), init(), and setFromExpr().
Definition at line 336 of file Overload.h.
Referenced by clang::Sema::PerformObjectArgumentInitialization().