clang 22.0.0git
clang::BaseSubobject Class Reference

#include "clang/AST/BaseSubobject.h"

Public Member Functions

 BaseSubobject ()=default
 BaseSubobject (const CXXRecordDecl *Base, CharUnits BaseOffset)
const CXXRecordDeclgetBase () const
 getBase - Returns the base class declaration.
CharUnits getBaseOffset () const
 getBaseOffset - Returns the base class offset.

Friends

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

Detailed Description

Definition at line 30 of file BaseSubobject.h.

Constructor & Destructor Documentation

◆ BaseSubobject() [1/2]

clang::BaseSubobject::BaseSubobject ( )
default

Referenced by operator==.

◆ BaseSubobject() [2/2]

clang::BaseSubobject::BaseSubobject ( const CXXRecordDecl * Base,
CharUnits BaseOffset )
inline

Definition at line 39 of file BaseSubobject.h.

Member Function Documentation

◆ getBase()

◆ getBaseOffset()

◆ operator==

bool operator== ( const BaseSubobject & LHS,
const BaseSubobject & RHS )
friend

Definition at line 48 of file BaseSubobject.h.

References BaseSubobject().


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