clang  6.0.0svn
Public Types | Public Member Functions | List of all members
clang::OverridingMethods Class Reference

The set of methods that override a given virtual method in each subobject where it occurs. More...

#include "clang/AST/CXXInheritance.h"

Public Types

using iterator = MapType::iterator
 
using const_iterator = MapType::const_iterator
 
using overriding_iterator = SmallVectorImpl< UniqueVirtualMethod >::iterator
 
using overriding_const_iterator = SmallVectorImpl< UniqueVirtualMethod >::const_iterator
 

Public Member Functions

iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
unsigned size () const
 
void add (unsigned OverriddenSubobject, UniqueVirtualMethod Overriding)
 
void add (const OverridingMethods &Other)
 
void replaceAll (UniqueVirtualMethod Overriding)
 

Detailed Description

The set of methods that override a given virtual method in each subobject where it occurs.

The first part of the pair is the subobject in which the overridden virtual function occurs, while the second part of the pair is the virtual method that overrides it (including the subobject in which that virtual function occurs).

Definition at line 276 of file CXXInheritance.h.

Member Typedef Documentation

◆ const_iterator

using clang::OverridingMethods::const_iterator = MapType::const_iterator

Definition at line 285 of file CXXInheritance.h.

◆ iterator

using clang::OverridingMethods::iterator = MapType::iterator

Definition at line 284 of file CXXInheritance.h.

◆ overriding_const_iterator

Definition at line 298 of file CXXInheritance.h.

◆ overriding_iterator

Definition at line 296 of file CXXInheritance.h.

Member Function Documentation

◆ add() [1/2]

void OverridingMethods::add ( unsigned  OverriddenSubobject,
UniqueVirtualMethod  Overriding 
)

Definition at line 541 of file CXXInheritance.cpp.

◆ add() [2/2]

void OverridingMethods::add ( const OverridingMethods Other)

Definition at line 550 of file CXXInheritance.cpp.

◆ begin() [1/2]

iterator clang::OverridingMethods::begin ( )
inline

Definition at line 287 of file CXXInheritance.h.

◆ begin() [2/2]

const_iterator clang::OverridingMethods::begin ( ) const
inline

Definition at line 288 of file CXXInheritance.h.

◆ end() [1/2]

iterator clang::OverridingMethods::end ( )
inline

Definition at line 289 of file CXXInheritance.h.

◆ end() [2/2]

const_iterator clang::OverridingMethods::end ( ) const
inline

Definition at line 290 of file CXXInheritance.h.

◆ replaceAll()

void OverridingMethods::replaceAll ( UniqueVirtualMethod  Overriding)

Definition at line 560 of file CXXInheritance.cpp.

◆ size()

unsigned clang::OverridingMethods::size ( ) const
inline

Definition at line 291 of file CXXInheritance.h.


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