clang 19.0.0git
Classes | Public Member Functions | Public Attributes | Friends | List of all members
clang::ReturnAdjustment Struct Reference

A return adjustment. More...

#include "clang/Basic/Thunk.h"

Classes

union  VirtualAdjustment
 Holds the ABI-specific information about the virtual return adjustment, if needed. More...
 

Public Member Functions

 ReturnAdjustment ()=default
 
bool isEmpty () const
 

Public Attributes

int64_t NonVirtual = 0
 The non-virtual adjustment from the derived object to its nearest virtual base.
 
union clang::ReturnAdjustment::VirtualAdjustment Virtual
 

Friends

bool operator== (const ReturnAdjustment &LHS, const ReturnAdjustment &RHS)
 
bool operator!= (const ReturnAdjustment &LHS, const ReturnAdjustment &RHS)
 
bool operator< (const ReturnAdjustment &LHS, const ReturnAdjustment &RHS)
 

Detailed Description

A return adjustment.

Definition at line 26 of file Thunk.h.

Constructor & Destructor Documentation

◆ ReturnAdjustment()

clang::ReturnAdjustment::ReturnAdjustment ( )
default

Member Function Documentation

◆ isEmpty()

bool clang::ReturnAdjustment::isEmpty ( ) const
inline

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const ReturnAdjustment LHS,
const ReturnAdjustment RHS 
)
friend

Definition at line 76 of file Thunk.h.

◆ operator<

bool operator< ( const ReturnAdjustment LHS,
const ReturnAdjustment RHS 
)
friend

Definition at line 81 of file Thunk.h.

◆ operator==

bool operator== ( const ReturnAdjustment LHS,
const ReturnAdjustment RHS 
)
friend

Definition at line 71 of file Thunk.h.

Member Data Documentation

◆ NonVirtual

int64_t clang::ReturnAdjustment::NonVirtual = 0

The non-virtual adjustment from the derived object to its nearest virtual base.

Definition at line 29 of file Thunk.h.

Referenced by dumpMicrosoftThunkAdjustment(), and isEmpty().

◆ Virtual

union clang::ReturnAdjustment::VirtualAdjustment clang::ReturnAdjustment::Virtual

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