struct ThunkInfo
Declaration
struct ThunkInfo { /* full declaration omitted */ };
Description
The \c this pointer adjustment as well as an optional return adjustment for a thunk.
Declared at: clang/include/clang/Basic/Thunk.h:156
Member Variables
- public clang::ThisAdjustment This
- The \c this pointer adjustment.
- public clang::ReturnAdjustment Return
- The return adjustment.
- public const clang::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. Otherwise, null. CAUTION: In the unlikely event you need to sort ThunkInfos, consider using an ABI-specific comparator.
Method Overview
- public ThunkInfo()
- public ThunkInfo(const clang::ThisAdjustment & This, const clang::ReturnAdjustment & Return, const clang::CXXMethodDecl * Method = nullptr)
- public bool isEmpty() const
Methods
¶ThunkInfo()
ThunkInfo()
Declared at: clang/include/clang/Basic/Thunk.h:170
¶ThunkInfo(
const clang::ThisAdjustment& This,
const clang::ReturnAdjustment& Return,
const clang::CXXMethodDecl* Method = nullptr)
ThunkInfo(
const clang::ThisAdjustment& This,
const clang::ReturnAdjustment& Return,
const clang::CXXMethodDecl* Method = nullptr)
Declared at: clang/include/clang/Basic/Thunk.h:172
Parameters
- const clang::ThisAdjustment& This
- const clang::ReturnAdjustment& Return
- const clang::CXXMethodDecl* Method = nullptr
¶bool isEmpty() const
bool isEmpty() const
Declared at: clang/include/clang/Basic/Thunk.h:181