clang API Documentation

Public Types | Public Member Functions | Public Attributes
clang::BadConversionSequence Struct Reference

#include <Overload.h>

Collaboration diagram for clang::BadConversionSequence:
Collaboration graph
[legend]

List of all members.

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

ExprFromExpr
FailureKind Kind

Detailed Description

BadConversionSequence - Records information about an invalid conversion sequence.

Definition at line 324 of file Overload.h.


Member Enumeration Documentation

Enumerator:
no_conversion 
unrelated_class 
bad_qualifiers 
lvalue_ref_to_rvalue 
rvalue_ref_to_lvalue 

Definition at line 325 of file Overload.h.


Member Function Documentation

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().

Definition at line 360 of file Overload.h.

References FromExpr, clang::Expr::getType(), and setFromType().

Definition at line 364 of file Overload.h.

References clang::QualType::getAsOpaquePtr().

Referenced by init(), and setFromExpr().

Definition at line 365 of file Overload.h.

References clang::QualType::getAsOpaquePtr().

Referenced by init().


Member Data Documentation

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().


The documentation for this struct was generated from the following file: