clang 20.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 27 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 77 of file Thunk.h.

◆ operator<

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

Definition at line 82 of file Thunk.h.

◆ operator==

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

Definition at line 72 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 30 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: