clang  6.0.0svn
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
clang::ObjCListBase Class Reference

#include "clang/AST/DeclObjC.h"

Inheritance diagram for clang::ObjCListBase:
Inheritance graph
[legend]
Collaboration diagram for clang::ObjCListBase:
Collaboration graph
[legend]

Public Member Functions

 ObjCListBase ()=default
 
 ObjCListBase (const ObjCListBase &)=delete
 
ObjCListBaseoperator= (const ObjCListBase &)=delete
 
unsigned size () const
 
bool empty () const
 

Protected Member Functions

void set (void *const *InList, unsigned Elts, ASTContext &Ctx)
 

Protected Attributes

void ** List = nullptr
 List is an array of pointers to objects that are not owned by this object. More...
 
unsigned NumElts = 0
 

Detailed Description

Definition at line 60 of file DeclObjC.h.

Constructor & Destructor Documentation

◆ ObjCListBase() [1/2]

clang::ObjCListBase::ObjCListBase ( )
default

◆ ObjCListBase() [2/2]

clang::ObjCListBase::ObjCListBase ( const ObjCListBase )
delete

Member Function Documentation

◆ empty()

bool clang::ObjCListBase::empty ( ) const
inline

Definition at line 72 of file DeclObjC.h.

Referenced by rewriteToObjCInterfaceDecl().

◆ operator=()

ObjCListBase& clang::ObjCListBase::operator= ( const ObjCListBase )
delete

◆ set()

void ObjCListBase::set ( void *const *  InList,
unsigned  Elts,
ASTContext Ctx 
)
protected

Definition at line 45 of file DeclObjC.cpp.

References List, and NumElts.

Referenced by clang::ObjCList< clang::ObjCProtocolDecl >::set().

◆ size()

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

Member Data Documentation

◆ List

void** clang::ObjCListBase::List = nullptr
protected

◆ NumElts

unsigned clang::ObjCListBase::NumElts = 0
protected

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