clang 20.0.0git
|
The this
pointer adjustment as well as an optional return adjustment for a thunk.
More...
#include "clang/Basic/Thunk.h"
Public Member Functions | |
ThunkInfo () | |
ThunkInfo (const ThisAdjustment &This, const ReturnAdjustment &Return, const Type *ThisT, const CXXMethodDecl *Method=nullptr) | |
bool | isEmpty () const |
Public Attributes | |
ThisAdjustment | This |
The this pointer adjustment. | |
ReturnAdjustment | Return |
The return adjustment. | |
const CXXMethodDecl * | Method |
Holds a pointer to the overridden method this thunk is for, if needed by the ABI to distinguish different thunks with equal adjustments. | |
const Type * | ThisType |
Friends | |
bool | operator== (const ThunkInfo &LHS, const ThunkInfo &RHS) |
The this
pointer adjustment as well as an optional return adjustment for a thunk.
|
inline |
|
inline |
Definition at line 186 of file Thunk.h.
References clang::ReturnAdjustment::isEmpty(), clang::ThisAdjustment::isEmpty(), Method, Return, and This.
const CXXMethodDecl* clang::ThunkInfo::Method |
Holds a pointer to the overridden method this thunk is for, if needed by the ABI to distinguish different thunks with equal adjustments.
In the Itanium ABI, this field can hold the method that created the vtable entry for this thunk. Otherwise, null. CAUTION: In the unlikely event you need to sort ThunkInfos, consider using an ABI-specific comparator.
Definition at line 172 of file Thunk.h.
Referenced by dumpMicrosoftThunkAdjustment(), and isEmpty().
ReturnAdjustment clang::ThunkInfo::Return |
The return adjustment.
Definition at line 162 of file Thunk.h.
Referenced by dumpMicrosoftThunkAdjustment(), isEmpty(), PerformReturnAdjustment(), and setThunkProperties().
ThisAdjustment clang::ThunkInfo::This |
The this
pointer adjustment.
Definition at line 159 of file Thunk.h.
Referenced by dumpMicrosoftThunkAdjustment(), and isEmpty().
const Type* clang::ThunkInfo::ThisType |
Definition at line 173 of file Thunk.h.
Referenced by mangleOverrideDiscrimination().