clang  6.0.0svn
Public Types | Public Member Functions | Public Attributes | List of all members
clang::BadConversionSequence Struct Reference

BadConversionSequence - Records information about an invalid conversion sequence. More...

#include "clang/Sema/Overload.h"

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

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 339 of file Overload.h.

Member Enumeration Documentation

◆ FailureKind

Enumerator
no_conversion 
unrelated_class 
bad_qualifiers 
lvalue_ref_to_rvalue 
rvalue_ref_to_lvalue 

Definition at line 340 of file Overload.h.

Member Function Documentation

◆ getFromType()

QualType clang::BadConversionSequence::getFromType ( ) const
inline

Definition at line 372 of file Overload.h.

References clang::QualType::getFromOpaquePtr().

◆ getToType()

QualType clang::BadConversionSequence::getToType ( ) const
inline

Definition at line 373 of file Overload.h.

References clang::QualType::getFromOpaquePtr().

◆ init() [1/2]

void clang::BadConversionSequence::init ( FailureKind  K,
Expr From,
QualType  To 
)
inline

Definition at line 361 of file Overload.h.

References clang::Expr::getType().

◆ init() [2/2]

void clang::BadConversionSequence::init ( FailureKind  K,
QualType  From,
QualType  To 
)
inline

◆ setFromExpr()

void clang::BadConversionSequence::setFromExpr ( Expr E)
inline

Definition at line 375 of file Overload.h.

◆ setFromType()

void clang::BadConversionSequence::setFromType ( QualType  T)
inline

Definition at line 379 of file Overload.h.

References clang::QualType::getAsOpaquePtr().

◆ setToType()

void clang::BadConversionSequence::setToType ( QualType  T)
inline

Definition at line 380 of file Overload.h.

References clang::QualType::getAsOpaquePtr().

Member Data Documentation

◆ FromExpr

Expr* clang::BadConversionSequence::FromExpr

Definition at line 349 of file Overload.h.

◆ Kind

FailureKind clang::BadConversionSequence::Kind

Definition at line 351 of file Overload.h.


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