clang  3.7.0
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
clang::SubobjectAdjustment Struct Reference

An adjustment to be made to the temporary created when emitting a reference binding, which accesses a particular subobject of that temporary. More...

#include <Expr.h>

Collaboration diagram for clang::SubobjectAdjustment:
[legend]

Classes

struct  DTB
 
struct  P
 

Public Types

enum  { DerivedToBaseAdjustment, FieldAdjustment, MemberPointerAdjustment }
 

Public Member Functions

 SubobjectAdjustment (const CastExpr *BasePath, const CXXRecordDecl *DerivedClass)
 
 SubobjectAdjustment (FieldDecl *Field)
 
 SubobjectAdjustment (const MemberPointerType *MPT, Expr *RHS)
 

Public Attributes

enum
clang::SubobjectAdjustment:: { ... }  
Kind
 
union {
   struct DTB   DerivedToBase
 
   FieldDecl *   Field
 
   struct P   Ptr
 
}; 
 

Detailed Description

An adjustment to be made to the temporary created when emitting a reference binding, which accesses a particular subobject of that temporary.

Definition at line 57 of file Expr.h.

Member Enumeration Documentation

anonymous enum
Enumerator
DerivedToBaseAdjustment 
FieldAdjustment 
MemberPointerAdjustment 

Definition at line 58 of file Expr.h.

Constructor & Destructor Documentation

clang::SubobjectAdjustment::SubobjectAdjustment ( const CastExpr BasePath,
const CXXRecordDecl DerivedClass 
)
inline
clang::SubobjectAdjustment::SubobjectAdjustment ( FieldDecl Field)
inline

Definition at line 88 of file Expr.h.

References Field.

clang::SubobjectAdjustment::SubobjectAdjustment ( const MemberPointerType MPT,
Expr RHS 
)
inline

Member Data Documentation

union { ... }
struct DTB clang::SubobjectAdjustment::DerivedToBase
FieldDecl* clang::SubobjectAdjustment::Field
enum { ... } clang::SubobjectAdjustment::Kind
struct P clang::SubobjectAdjustment::Ptr

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