clang API Documentation
#include <Overload.h>

Public Types | |
| enum | FailureKind { no_conversion, unrelated_class, suppressed_user, 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 336 of file Overload.h.
| no_conversion | |
| unrelated_class | |
| suppressed_user | |
| bad_qualifiers | |
| lvalue_ref_to_rvalue | |
| rvalue_ref_to_lvalue |
Definition at line 337 of file Overload.h.
| QualType clang::BadConversionSequence::getFromType | ( | ) | const [inline] |
Definition at line 370 of file Overload.h.
References clang::QualType::getFromOpaquePtr().
Referenced by clang::OverloadCandidate::TryToFixBadConversion().
| QualType clang::BadConversionSequence::getToType | ( | ) | const [inline] |
Definition at line 371 of file Overload.h.
References clang::QualType::getFromOpaquePtr().
Referenced by clang::OverloadCandidate::TryToFixBadConversion().
| void clang::BadConversionSequence::init | ( | FailureKind | K, |
| Expr * | From, | ||
| QualType | To | ||
| ) | [inline] |
Definition at line 359 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 363 of file Overload.h.
References FromExpr, setFromType(), and setToType().
| void clang::BadConversionSequence::setFromExpr | ( | Expr * | E | ) | [inline] |
Definition at line 373 of file Overload.h.
References FromExpr, clang::Expr::getType(), and setFromType().
| void clang::BadConversionSequence::setFromType | ( | QualType | T | ) | [inline] |
Definition at line 377 of file Overload.h.
References clang::QualType::getAsOpaquePtr().
Referenced by init(), and setFromExpr().
| void clang::BadConversionSequence::setToType | ( | QualType | T | ) | [inline] |
Definition at line 378 of file Overload.h.
References clang::QualType::getAsOpaquePtr().
Referenced by init().
Definition at line 347 of file Overload.h.
Referenced by init(), and setFromExpr().
Definition at line 349 of file Overload.h.
Referenced by clang::Sema::PerformObjectArgumentInitialization().