clang API Documentation

Public Member Functions | Public Attributes | Friends
clang::ThunkInfo Struct Reference

The this pointer adjustment as well as an optional return adjustment for a thunk. More...

#include <ABI.h>

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

List of all members.

Public Member Functions

 ThunkInfo ()
 ThunkInfo (const ThisAdjustment &This, const ReturnAdjustment &Return, const CXXMethodDecl *Method=nullptr)
bool isEmpty () const

Public Attributes

ThisAdjustment This
 The this pointer adjustment.
ReturnAdjustment Return
 The return adjustment.
const CXXMethodDeclMethod
 Holds a pointer to the overridden method this thunk is for, if needed by the ABI to distinguish different thunks with equal adjustments. Otherwise, null. CAUTION: In the unlikely event you need to sort ThunkInfos, consider using an ABI-specific comparator.

Friends

bool operator== (const ThunkInfo &LHS, const ThunkInfo &RHS)

Detailed Description

The this pointer adjustment as well as an optional return adjustment for a thunk.

Definition at line 176 of file ABI.h.


Constructor & Destructor Documentation

Definition at line 190 of file ABI.h.

clang::ThunkInfo::ThunkInfo ( const ThisAdjustment This,
const ReturnAdjustment Return,
const CXXMethodDecl Method = nullptr 
) [inline]

Definition at line 192 of file ABI.h.


Member Function Documentation

bool clang::ThunkInfo::isEmpty ( ) const [inline]

Friends And Related Function Documentation

bool operator== ( const ThunkInfo LHS,
const ThunkInfo RHS 
) [friend]

Definition at line 196 of file ABI.h.


Member Data Documentation

Holds a pointer to the overridden method this thunk is for, if needed by the ABI to distinguish different thunks with equal adjustments. Otherwise, null. CAUTION: In the unlikely event you need to sort ThunkInfos, consider using an ABI-specific comparator.

Definition at line 188 of file ABI.h.

Referenced by dumpMicrosoftThunkAdjustment(), and isEmpty().


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