clang API Documentation

Public Member Functions | Public Attributes | Friends
clang::UniqueVirtualMethod Struct Reference

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

#include <CXXInheritance.h>

Collaboration diagram for clang::UniqueVirtualMethod:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

CXXMethodDeclMethod
 The overriding virtual method.
unsigned Subobject
 The subobject in which the overriding virtual method resides.
const CXXRecordDeclInVirtualSubobject
 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.

Friends

bool operator== (const UniqueVirtualMethod &X, const UniqueVirtualMethod &Y)
bool operator!= (const UniqueVirtualMethod &X, const UniqueVirtualMethod &Y)

Detailed Description

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

Definition at line 234 of file CXXInheritance.h.


Constructor & Destructor Documentation

Definition at line 235 of file CXXInheritance.h.

clang::UniqueVirtualMethod::UniqueVirtualMethod ( CXXMethodDecl Method,
unsigned  Subobject,
const CXXRecordDecl InVirtualSubobject 
) [inline]

Definition at line 238 of file CXXInheritance.h.


Friends And Related Function Documentation

bool operator!= ( const UniqueVirtualMethod X,
const UniqueVirtualMethod Y 
) [friend]

Definition at line 261 of file CXXInheritance.h.

bool operator== ( const UniqueVirtualMethod X,
const UniqueVirtualMethod Y 
) [friend]

Definition at line 255 of file CXXInheritance.h.


Member Data Documentation

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 253 of file CXXInheritance.h.

The overriding virtual method.

Definition at line 244 of file CXXInheritance.h.

The subobject in which the overriding virtual method resides.

Definition at line 248 of file CXXInheritance.h.


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