clang 20.0.0git
|
Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobject number. More...
#include "clang/AST/CXXInheritance.h"
Public Member Functions | |
UniqueVirtualMethod ()=default | |
UniqueVirtualMethod (CXXMethodDecl *Method, unsigned Subobject, const CXXRecordDecl *InVirtualSubobject) | |
Public Attributes | |
CXXMethodDecl * | Method = nullptr |
The overriding virtual method. | |
unsigned | Subobject = 0 |
The subobject in which the overriding virtual method resides. | |
const CXXRecordDecl * | InVirtualSubobject = nullptr |
The virtual base class subobject of which this overridden virtual method is a part. | |
Friends | |
bool | operator== (const UniqueVirtualMethod &X, const UniqueVirtualMethod &Y) |
bool | operator!= (const UniqueVirtualMethod &X, const UniqueVirtualMethod &Y) |
Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobject number.
Definition at line 230 of file CXXInheritance.h.
|
default |
|
inline |
Definition at line 245 of file CXXInheritance.h.
|
friend |
Definition at line 256 of file CXXInheritance.h.
|
friend |
Definition at line 250 of file CXXInheritance.h.
const CXXRecordDecl* clang::UniqueVirtualMethod::InVirtualSubobject = nullptr |
The virtual base class subobject of which this overridden virtual method is a part.
Note that this records the closest derived virtual base class subobject.
Definition at line 241 of file CXXInheritance.h.
CXXMethodDecl* clang::UniqueVirtualMethod::Method = nullptr |
The overriding virtual method.
Definition at line 232 of file CXXInheritance.h.
unsigned clang::UniqueVirtualMethod::Subobject = 0 |
The subobject in which the overriding virtual method resides.
Definition at line 236 of file CXXInheritance.h.