clang 19.0.0git
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]

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.
 
unsigned NumElts = 0
 

Detailed Description

Definition at line 59 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 71 of file DeclObjC.h.

References NumElts.

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, memcpy(), and NumElts.

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

◆ size()

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

Member Data Documentation

◆ List

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

List is an array of pointers to objects that are not owned by this object.

Definition at line 62 of file DeclObjC.h.

Referenced by clang::ObjCList< T >::begin(), clang::ObjCList< T >::end(), clang::ObjCList< T >::operator[](), and set().

◆ NumElts

unsigned clang::ObjCListBase::NumElts = 0
protected

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