clang API Documentation

Classes | Public Types | Public Member Functions | Public Attributes
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:
Collaboration graph
[legend]

List of all members.

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]

Definition at line 88 of file Expr.h.

References Field.


Member Data Documentation

union { ... }

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