struct UniqueVirtualMethod

Declaration

struct UniqueVirtualMethod { /* full declaration omitted */ };

Description

Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobject number.

Declared at: clang/include/clang/AST/CXXInheritance.h:230

Member Variables

public clang::CXXMethodDecl* Method = nullptr
The overriding virtual method.
public unsigned int Subobject = 0
The subobject in which the overriding virtual method resides.
public const clang::CXXRecordDecl* 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.

Method Overview

Methods

UniqueVirtualMethod()

Declared at: clang/include/clang/AST/CXXInheritance.h:243

UniqueVirtualMethod(clang::CXXMethodDecl* Method,
                    unsigned int Subobject,
                    const clang::CXXRecordDecl*
                        InVirtualSubobject)

Declared at: clang/include/clang/AST/CXXInheritance.h:245

Parameters

clang::CXXMethodDecl* Method
unsigned int Subobject
const clang::CXXRecordDecl* InVirtualSubobject