clang 20.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 43 of file DeclObjC.cpp.

References List, memcpy(), and NumElts.

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